Click or drag to resize
MimeKit

BouncyCastleSecureMimeContextGetCertificate Method

Get the X.509 certificate matching the specified selector.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
protected abstract X509Certificate GetCertificate(
	ISelector<X509Certificate> selector
)

Parameters

selector  ISelectorX509Certificate
The search criteria for the certificate.

Return Value

X509Certificate
The certificate on success; otherwise null.
Remarks

Gets the first certificate that matches the specified selector.

This method is used when constructing a certificate chain if the S/MIME signature does not include a signer's certificate.

See Also