X509CertGetThumbprint (FUN)

FUNCTION X509CertGetThumbprint : RTS_IEC_RESULT

Generate the certificate thumbprint. The thumbprint will be just the plain bytes of the hash. The thumprint can be used to identify certificates of the local store. The thumprint may not be globally unique.

InOut:

Scope

Name

Type

Comment

Return

X509CertGetThumbprint

RTS_IEC_RESULT

Result of the operation.

Input

hCert

RTS_IEC_HANDLE

Handle of the certificate of intrest.

hashAlgorithm

POINTER TO RtsCryptoID

The hashing algorithmen used to generate the thumbprint.

pThumprint

POINTER TO RtsByteString

Buffer to store the thumbprint. If bytestring is NULL memory ia allocated.