BouncyCastleSecureMimeContextCheckCertificateRevocation Property

Get or set whether certificate revocation lists should be downloaded when verifying signatures.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public bool CheckCertificateRevocation { get; set; }

Property Value

Boolean
if CRLs should be downloaded automatically; otherwise, .

Remarks

Gets or sets whether certificate revocation lists should be downloaded when verifying signatures.

If enabled, the BouncyCastleSecureMimeContext will attempt to automatically download Certificate Revocation Lists (CRLs) from the internet based on the CRL Distribution Point extensions of certificates on a validated path to a configured trust anchor. The path is first validated without revocation checking, then validated again with revocation checking after CRLs are retrieved.

  Security Note

Enabling this feature still exposes network activity to certificate issuers. Trust anchors and their issuers must be trusted to supply appropriate distribution points. Applications should enforce outbound network restrictions as appropriate for their environment.

See Also