PyCRYPTPROV Object

Handle to a cryptographic provider, created using cryptoapi::CryptAcquireContext

Methods

CryptReleaseContext
Releases the CSP handle 

CryptGenKey
Generates a key pair or a session key 

CryptGetProvParam
Retrieves specified attribute of provider 

CryptGetUserKey
Returns a handle to one of user's key pairs 

CryptGenRandom
Generates random data of specified length 

CryptCreateHash
Creates a hash object for hashing large amounts of data 

CryptImportKey
Imports a key exported by PyCRYPTKEY::CryptExportKey 

CryptExportPublicKeyInfo
Exports a public key to send to other users 

CryptImportPublicKeyInfo
Imports another user's public key