MultipartText-based
multipart/encrypted
Encrypted Content
Reference for multipart/encrypted, the MIME type for encrypted messages containing control info and encrypted data.
MIME Type Detector
Drop a file to detect its MIME type — no upload, runs in your browser
📄
Drop any file here or click to choose
HTTP Content-Type Header
HTTP Header
Content-Type: multipart/encrypted; charset=utf-8Quick Facts
| MIME Type | multipart/encrypted |
| Category | Multipart |
| Type | Text-based (human-readable) |
Common Usage
multipart/encrypted wraps encrypted content with encryption control information. It is used in PGP/MIME encrypted email, S/MIME encryption, and secure messaging protocols.
The first part describes the encryption method, and the second part contains the encrypted payload.
Code Examples
HTML
<!-- Set MIME type in meta or fetch headers -->
<meta http-equiv="Content-Type" content="multipart/encrypted">Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('multipart/encrypted');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'multipart/encrypted' });nginx
# nginx.conf — add to types block or use default
types {
multipart/encrypted encrypted;
}
# Or set for a specific location
location /api/ {
default_type multipart/encrypted;
}Related MIME Types
More Multipart MIME Types
Other multipart types in the Multipart family
Related Tools
Explore More MIME Types
Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.