X509.HashIssuerAndSN Method
Create a message digest of the Issuer's name and the cert serial number.
Syntax
[C#]
public static string HashIssuerAndSN(
string certFile,
HashAlgorithm algorithm
)
[VB.NET]
Public Shared Function HashIssuerAndSN ( _
certFile As String, _
algorithm As HashAlgorithm _
) As String
Parameters
- certFile
- Filename of certificate file (or its base64 representation)
- algorithm
- Type: HashAlgorithm
Hash algorithm to use [default = SHA-1]
Return Value
Message digest in hex format or Empty string if error
Remarks
This (should) give a unique identifier for any certificate
See Also
VB6/C equivalent: X509_HashIssuerAndSN
[Contents] [Index]