EncryptMessage(fqop, Message, MessageSeqNo)
Encrypts data with session key of security context
Parameters
fqop : int
Flags that indicate quality of protection desired, specific to each security packageMessage : PySecBufferDesc
PySecBufferDesc that contains data buffer(s) to be encryptedMessageSeqNo : int
A sequential number used by some packages to verify that no extraneous messages have
been receivedComments
The buffer configuration is dependent on the security package. Usually there is one input buffer
of type SECBUFFER_DATA to be encrypted in-place and another empty buffer of type SECBUFFER_PADDING or
SECBUFFER_TOKEN to receive signature or padding data
Return Value
Returns None on success, and buffer(s) will contain encrypted data