Click or drag to resize
MimeKit

BouncyCastleSecureMimeContextBuildCertificateChain Method

Build a certificate chain.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
protected IList<X509Certificate> BuildCertificateChain(
	X509Certificate certificate
)

Parameters

certificate  X509Certificate
The certificate to build the chain for.

Return Value

IListX509Certificate
The certificate chain, including the specified certificate.
Remarks

Builds a certificate chain for the provided certificate to include when signing.

This method is ideal for use with custom GetCmsSigner(MailboxAddress, DigestAlgorithm) implementations when it is desirable to include the certificate chain in the signature.

See Also