Click or drag to resize
MimeKit

BouncyCastleSecureMimeContextUpdateSecureMimeCapabilities Method

Updates the known S/MIME capabilities of the client used by the recipient that owns the specified certificate.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
protected abstract void UpdateSecureMimeCapabilities(
	X509Certificate certificate,
	EncryptionAlgorithm[] algorithms,
	DateTime timestamp
)

Parameters

certificate  X509Certificate
The certificate.
algorithms  EncryptionAlgorithm
The encryption algorithm capabilities of the client (in preferred order).
timestamp  DateTime
The timestamp.
Remarks

Updates the known S/MIME capabilities of the client used by the recipient that owns the specified certificate.

This method is called when decoding digital signatures that include S/MIME capabilities in the metadata, allowing custom implementations to update the X.509 certificate records with the list of preferred encryption algorithms specified by the sending client.

See Also