_AxlRSAKeyValueToPublicKeyToken
Computes a public key token from an RSA key.
HRESULT _AxlRSAKeyValueToPublicKeyToken (
CRYPT_DATA_BLOB *pModulusBlob
CRYPT_DATA_BLOB *pExponentBlob
LPCWSTR *ppwszPublicKeyToken
);
Parameters
Parameter | Description |
---|---|
pModulusBlob |
[In] A pointer to a CRYPT_DATA_BLOB structure containing the modulus. |
pExponentBlob |
[In] A pointer to a CRYPT_DATA_BLOB structure containing the exponent. |
ppwszPublicKeyToken |
[In, Out] The public key token. |
Requirements
Library: mscorwks.dll
Return Value
Returns S_OK on success, and a COM error code on failure.
Remarks
Information on the CRYPT_DATA_BLOB structure is available in the Windows Platform SDK documentation.