Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table describes the CSP functions. Each function in the table corresponds directly to a CryptoAPI function.

Function Description

CPAcquireContext

Acquires a handle to a particular key container within the CSP.

CryptCreateHash

Creates a hash object and returns a handle to it.

CryptDecrypt

Decrypts a section of ciphertext using the specified encryption key.

CryptDeriveKey

Creates a key from a password.

CryptDestroyHash

Destroys a hash object.

CryptDestroyKey

Destroys a key.

CryptDuplicateHash

Makes an exact copy of a hash object and the state the hash is in.

CryptDuplicateKey

Makes an exact copy of a key, including the state of a key.

CryptEncrypt

Encrypts a section of plaintext using the specified encryption key.

CryptExportKey

Transfers a key from the CSP into a key BLOB in the application's memory.

CryptGenKey

Creates a random key.

CryptGenRandom

Generates random data.

CryptGetHashParam

Retrieves a hash object parameter.

CryptGetKeyParam

Retrieves a key's parameters.

CryptGetProvParam

Retrieves attributes of the CSP.

CryptGetUserKey

Gets a handle to the key exchange or signature key.

CryptHashData

Hashes a block of data and adds it to the specified hash object.

CryptHashSessionKey

Hashes a session key and adds it to the specified hash object.

CryptImportKey

Transfers a key from a key BLOB to a CSP.

CryptReleaseContext

Frees the handle acquired by CPAcquireContext.

CryptSetHashParam

Sets a hash object parameter.

CryptSetKeyParam

Specifies a key's parameters.

CryptSetProvParam

Sets specific attributes of a CSP.

CryptSignHash

Signs the specified hash object.

CryptVerifySignature

Verifies a digital signature.

See Also

Concepts

Smart Card CSP

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.