Finds a certificate with a matching key identifier.
[Visual Basic]
Public Function FindCertificateByKeyIdentifier( _
ByVal keyID As Byte() _
) As Certificate
The Certificate with the matching key identifier -or- a null reference (Nothing in Visual Basic) if no matching certificate could be found in the store.
Exception Type | Condition |
---|---|
ArgumentNullException | keyID is a null reference (Nothing in Visual Basic). |
ArgumentException | keyID is invalid. |
CertificateStore Class | CertificateStore Members | Org.Mentalis.Security.Certificates Namespace