Finds a certificate with a matching hash.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
Visual Basic |
---|
Public Function FindCertificateByHash ( _
hash As Byte(), _
hashType As HashType _
) As Certificate |
Visual C++ |
---|
public:
Certificate^ FindCertificateByHash(
array<unsigned char>^ hash,
HashType hashType
) |
Return Value
The
Certificate with the matching hash -or- a null reference (
Nothing in Visual Basic) if no certificate with that hash could be found in the store.
Exceptions
Exception | Condition |
---|
System..::..ArgumentNullException | hash is a null reference (Nothing in Visual Basic). |
See Also