win32crypt.CryptDecryptMessage

str, PyCERT_CONTEXT = CryptDecryptMessage(DecryptPara, EncryptedBlob )

Decrypts an encrypted and encoded message

Parameters

DecryptPara : PyCRYPT_DECRYPT_MESSAGE_PARA

Dictionary containing decryption parameters

EncryptedBlob : buffer

Buffer containing an encrypted message

Return Value

Returns the decrypted message and a handle to the certificate used to decrypt it