PyCtxtHandle.DecryptMessage

DecryptMessage(Message, MessageSeqNo)

Decrypts data produced by PyCtxtHandle::EncryptMessage

Parameters

Message : PySecBufferDesc

PySecBufferDesc containing data buffers to be decrypted

MessageSeqNo : int

A sequential number used by some packages to verify that no extraneous messages have been received

Comments

The buffer configuration is dependent on the security package. Usually there is one buffer of type SECBUFFER_DATA which is modified in place and a second buffer of type SECBUFFER_TOKEN or SECBUFFER_PADDING containing signature, padding, or other extra data from encryption process that doesn't fit in first buffer

Return Value

Returns flags specfic to security package indicating quality of protection