CryptoSys PKI Pro Manual

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]
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

String
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]

[PREV: X509.GetP7ChainFromPFX Method...]   [Contents]   [Index]   
   [NEXT: X509.KeyUsageFlags Method...]

Copyright © 2004-26 D.I. Management Services Pty Ltd t/a CryptoSys. All rights reserved. Generated 2026-09-21T05:59:39Z.