_AxlGetIssuerPublicKeyHash Function

Retrieves the SHA-1 hash of the public key associated with the private key that is used to sign the specified certificate.

Syntax

HRESULT _AxlGetIssuerPublicKeyHash (
    [in]  IN PCRYPT_DATA_BLOB   pChainContext,
    [out] LPWSTR                *ppwszPublicKeyHash
);

Parameters

pChainContext
[in] The CSP public key blob. See the CRYPTOAPI_BLOB structure.

ppwszPublicKeyHash
[out] A pointer to WCHAR * to receive the hex-encoded public key token.

Return Value

S_OK if the function succeeds; otherwise S_FALSE.

Requirements

Assembly: clr.dll

See also