Mentalis.org Security Library documentation

Certificate.GetCertHash Method ()

Returns the hash value for the X.509v3 certificate as an array of bytes.

[Visual Basic]
Overloads Public Function GetCertHash() As Byte()
[C#]
public byte[] GetCertHash();

Return Value

The hash value for the X.509 certificate.

Exceptions

Exception TypeCondition
CertificateExceptionAn error occurs while retrieving the hash of the certificate.

See Also

Certificate Class | Org.Mentalis.Security.Certificates Namespace | Certificate.GetCertHash Overload List