X509Certificate DatabaseFind(X509Crl, X509Crl Record Fields) Method
Finds the specified certificate revocation list.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
The matching record if found; otherwise .
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public X509CrlRecord? Find(
X509Crl crl,
X509CrlRecordFields fields
)Parameters
- crl X509Crl
- The certificate revocation list.
- fields X509CrlRecordFields
- The desired fields.
Return Value
X509CrlRecordThe matching record if found; otherwise .
Implements
IX509CertificateDatabaseFind(X509Crl, X509CrlRecordFields)Remarks
Searches the database for the specified CRL, returning the matching record with
the desired fields populated.
Exceptions
| ArgumentNullException | crl is . |
| ObjectDisposedException | The X509CertificateDatabase has been disposed. |