Optionalstore: ISecureMimeStoreReadonlyallowProtected ReadonlyencryptionThe encryption algorithms in ranked (strongest-first) order.
Protected ReadonlystoreThe injectable certificate/key store (set by the concrete C2b context).
null on contexts that resolve everything from an explicit CmsSigner /
CmsRecipient and never do mailbox lookups.
Whether entities should be canonically prepared (armored "From " lines,
trailing whitespace trimmed) before signing (C#: PrepareBeforeSigning,
default true).
The in-memory certificate/key store backing this context.
The signature protocol (multipart/signed protocol parameter).
The encryption protocol (multipart/encrypted protocol parameter).
The key exchange protocol.
The enabled encryption algorithms, in ranked order.
Create a detached CMS signature (application/pkcs7-signature) from a CmsSigner.
Create an encapsulated (application/pkcs7-mime, signed-data) signature from a CmsSigner.
Create a detached CMS signature resolving the signer via the store.
Create an encapsulated signature resolving the signer via the store.
Verify a detached signature over content (multipart/signed path).
Verify encapsulated signed-data and return the signatures + unwrapped entity.
Encrypt a MIME stream to an explicit recipient collection.
Encrypt a MIME stream to recipient mailboxes, resolving certificates via the store.
Decrypt enveloped-data, writing the decrypted MIME stream to output.
Compress a MIME stream into an application/pkcs7-mime part.
Decompress compressed-data into a MIME entity.
Import the certificates (and CRLs) contained in the DER/PKCS#7 stream.
Whether the specified protocol is supported by this context.
The micalg name for a digest algorithm (multipart/signed micalg).
The digest algorithm from a micalg parameter value.
StaticgetThe OID for a digest algorithm (C#: GetDigestOid).
StatictryMaps a digest OID back to a DigestAlgorithm (C#: TryGetDigestAlgorithm).
Whether the specified encryption algorithm is enabled.
ProtectedgetThe preferred encryption algorithm for the specified recipients, based on each recipient's supported algorithms, the enabled algorithms, and the rank. If a recipient's supported algorithms are unknown, Triple-DES is assumed.
Release any resources held by the context (C#: IDisposable). Default no-op.
The concrete pkijs/WebCrypto-backed S/MIME context.