_AxlPublicKeyBlobToPublicKeyToken Function

Computes the strong name public key token from a CSP PUBLICKEYBLOB format.

Syntax

HRESULT _AxlPublicKeyBlobToPublicKeyToken (
    [in]  PCCERT_CHAIN_CONTEXT   pCspPublicKeyBlob,
    [out] LPWSTR                 *ppwszPublicKeyToken
);

Parameters

pCspPublicKeyBlob
[in] The CSP public key blob.

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

Return Value

S_OK if the function succeeds; otherwise S_FALSE.

Requirements

Assembly: clr.dll

See also