Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Cryptography Functions (Windows CE 5.0)

Windows CE 5.0
Send Feedback

The following table shows the cryptography functions with a description of the purpose of each.

Programming elementDescription
CPAcquireContextThis function acquires a handle to the key container specified by the pszContainer parameter.
CryptAcquireContextThis function acquires a handle to a specific key container within a particular cryptographic service provider (CSP).
CryptContextAddRefThis function adds one to the reference count of an HCRYPTPROV handle.
CryptCreateHashThis function initiates the hashing of a stream of data.
CryptDecryptThis function decrypts data that was previously encrypted with the CryptEncrypt function.
CryptDeriveKeyThis function generates cryptographic session keys derived from base data.
CryptDestroyHashThis function destroys the hash object referenced by the hHash parameter.
CryptDestroyKeyThis function frees the handle referenced by the hKey parameter.
CryptDuplicateHashThis function makes an exact copy of a hash and the state the hash is in.
CryptDuplicateKeyThis function makes an exact copy of a key and the state the key is in.
CryptEncryptThis function encrypts data.
CryptEnumProvidersThis function retrieves the first or next available cryptographic service provider (CSP).
CryptEnumProviderTypesThis function retrieves the first or next type of cryptographic service provider (CSP) supported on the computer.
CryptExportKeyThis function exports cryptographic keys from of a cryptographic service provider (CSP) in a secure manner.
CryptFindLocalizedNameThis function finds the localized name for the specified name, such as the localized name of the "Root" system store.
CryptGenKeyThis function generates a random cryptographic session key or a public/private key pair for use with the cryptographic service provider (CSP).
CryptGenRandomThis function fills a buffer with random bytes.
CryptGetDefaultProviderThis function finds the default cryptographic service provider (CSP) of a specified type either for the current user or the device.
CryptGetHashParamThis function retrieves data that governs the operations of a hash object and retrieves the actual hash value.
CryptGetKeyParamThis function lets applications retrieve data that governs the operations of a key.
CryptGetProvParamThis function retrieves parameters that govern the operations of a cryptographic service provider (CSP).
CryptGetUserKeyThis function retrieves a handle to a permanent user key pair, such as the user's signature key pair.
CryptHashDataThis function adds data to a specified hash object.
CryptHashSessionKeyThis function computes the cryptographic hash of a session key object.
CryptImportKeyThis function transfers a cryptographic key from a key binary large object (BLOB) to the cryptographic service provider (CSP).
CryptMsgCalculateEncodedLengthThis function calculates the maximum number of bytes need for an encoded cryptographic message when it is given the message type, encoding parameters, and total length of the data to be encoded.
CryptMsgCloseThis function closes a cryptographic message handle.
CryptMsgControlThis function performs a control operation after a message has been decoded by a final CryptMsgUpdate call.
CryptMsgDuplicateThis function duplicates a cryptographic message handle by incrementing its reference count.
CryptMsgGetParamThis function acquires a message parameter after a cryptographic message has been encoded or decoded.
CryptMsgOpenToDecodeThis function opens a cryptographic message for decoding and returns a handle of the opened message.
CryptMsgOpenToEncodeThis function opens a cryptographic message for encoding and returns a handle of the opened message.
CryptMsgUpdateThis function adds contents to a cryptographic message.
CryptProtectDataThis function performs encryption on the data in a DATA_BLOB structure.
CryptReleaseContextThis function frees the handle to a cryptographic service provider (CSP) and the key container.
CryptSetHashParamThis function customizes the operations of a hash object.
CryptSetKeyParamThis function customizes various aspects of a key's operations.
CryptSetProviderThis function specifies the current user default cryptographic service provider (CSP).
CryptSetProviderExThis function specifies the default cryptographic service provider (CSP) for the current user or the local device.
CryptSetProvParamThis function customizes the operations of a cryptographic service provider (CSP).
CryptSignHashThis function signs data.
CryptUnprotectDataThis function decrypts and checks the integrity of the data in a DATA_BLOB structure.
CryptVerifySignatureThis function verifies the signature of a hash object.

See Also

Cryptography Reference


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft. All rights reserved.