X509HashIssuerAndSN Method |
Create a message digest of the Issuer's name and the cert serial number.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static string HashIssuerAndSN(
string certFile,
HashAlgorithm algorithm
)
Public Shared Function HashIssuerAndSN (
certFile As String,
algorithm As HashAlgorithm
) As String
Parameters
- certFile String
- Filename of certificate file (or its base64 representation)
- algorithm HashAlgorithm
- Hash algorithm to use [default = SHA-1]
Return Value
StringMessage digest in hex format or Empty string if error
RemarksThis (should) give a unique identifier for any certificate
See Also