GetKeyedHash

Gets a keyed hash based on the key referred to by the specified symmetric key handle.

HRESULT
__stdcall GetKeyedHash(
               __in PINFORMATIONCARD_CRYPTO_HANDLE hSymmetricCrypto,
               __deref_out PINFORMATIONCARD_CRYPTO_HANDLE* pphHash );

Parameters

Parameter Description

hSymmetricCrypto

Handle to the cryptography object associated with a previously released security token.

pphHash

Pointer to the keyed hash that can be used with the HashCore and HashFinal functions. When you have finished, this handle need to be closed by using the CloseCryptoHandle function.

Property Value/Return Value

HRESULT

Requirements

Windows Vista

Header: Declared in infocard.h.

Library: Use infocardapi.lib.

See Also

Reference

HashCore
HashFinal

Copyright © 2007 by Microsoft Corporation. All rights reserved.