Muokkaa

Jaa


_AxlRSAKeyValueToPublicKeyToken function

Converts a Modulus and Exponent to a strong name public key token.

Syntax

HRESULT _AxlRSAKeyValueToPublicKeyToken (
    [in]  PCRYPT_DATA_BLOB pModulusBlob,
    [in]  PCRYPT_DATA_BLOB pExponentBlob,
    [out] LPWSTR           *ppwszPublicKeyToken
);

Parameters

pModulusBlob
[in] The base64-encoded Modulus blob (from the <Modulus> element). See the CRYPTOAPI_BLOB structure.

pExponentBlob
[in] The base64-encoded Exponent blob (from the <Exponent> element). See the CRYPTOAPI_BLOB structure.

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

Return Value

S_OK if the function succeeds. Otherwise, returns an error code.

Requirements

Assembly: clr.dll

See also