Finds a certificate with a matching hash.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public Certificate FindCertificateByHash(
byte[] hash
) |
Visual Basic |
---|
Public Function FindCertificateByHash ( _
hash As Byte() _
) As Certificate |
Visual C++ |
---|
public:
Certificate^ FindCertificateByHash(
array<unsigned char>^ hash
) |
Parameters
- hash
- Type: array<System..::..Byte>[]()[][]
The hash to search for.
Return Value
The
Certificate with the matching default 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