Click or drag to resize

X509CertificateGetFingerprint Method (DigestAlgorithm)

Retrieves, in a string, a text representation of a cryptographically-secure digest of the certificate that can be used to identify it uniquely. Note: Default algorithm parameter is currently SHA-256, but may change in future without further warning, pursuant to security needs.

Namespace:  pdftron.Crypto
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public string GetFingerprint(
	DigestAlgorithm in_digest_algorithm
)

Parameters

in_digest_algorithm
Type: pdftron.CryptoDigestAlgorithm
An enumeration representing the digest algorithm to use. Currently supported are SHA-1 (SHA-160), SHA-256, SHA-384, and SHA-512.

Return Value

Type: String
a string representation of the fingerprint, in the form of double ASCII characters representing hex bytes, separated by colons
See Also