Class SMimeContentTypes
S/MIME content type and parameter constants (RFC 5751 §3).
Inherited Members
Namespace: DRIT.Mail.Rfc.SMime
Assembly: DRIT.Mail.dll
Syntax
public static class SMimeContentTypes
Fields
View SourceEnvelopeFileName
The default filename for an opaque signed or encrypted S/MIME attachment.
Declaration
public const string EnvelopeFileName = "smime.p7m"
Field Value
| Type | Description |
|---|---|
| string |
MimeEnvelopedData
The media type for opaque signed and encrypted S/MIME messages:
application/pkcs7-mime.
Declaration
public const string MimeEnvelopedData = "application/pkcs7-mime"
Field Value
| Type | Description |
|---|---|
| string |
SignatureFileName
The default filename for an S/MIME signature attachment.
Declaration
public const string SignatureFileName = "smime.p7s"
Field Value
| Type | Description |
|---|---|
| string |
SignedDataProtocol
The media type for the protocol parameter of a multipart/signed message
and for the detached signature part: application/pkcs7-signature.
Declaration
public const string SignedDataProtocol = "application/pkcs7-signature"
Field Value
| Type | Description |
|---|---|
| string |
SmimeTypeCertsOnly
The smime-type parameter value for a certs-only message.
Declaration
public const string SmimeTypeCertsOnly = "certs-only"
Field Value
| Type | Description |
|---|---|
| string |
SmimeTypeCompressedData
The smime-type parameter value for a compressed-data message.
Declaration
public const string SmimeTypeCompressedData = "compressed-data"
Field Value
| Type | Description |
|---|---|
| string |
SmimeTypeEnvelopedData
The smime-type parameter value for an encrypted (enveloped) message.
Declaration
public const string SmimeTypeEnvelopedData = "enveloped-data"
Field Value
| Type | Description |
|---|---|
| string |
SmimeTypeSignedData
The smime-type parameter value for an opaque signed message.
Declaration
public const string SmimeTypeSignedData = "signed-data"
Field Value
| Type | Description |
|---|---|
| string |