Mentalis.org Security Library documentation

Certificate.GetCertHashString Method (HashType)

Returns the hash value for the X.509v3 certificate as a hexadecimal string.

[Visual Basic]
Overloads Public Function GetCertHashString( _
   ByVal type As HashType _
) As String
[C#]
public string GetCertHashString(
   HashType type
);

Parameters

type
One of the HashType values.

Return Value

The hexadecimal string representation of the X.509 certificate hash value.

Exceptions

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

See Also

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