PyCtxtHandle.MakeSignature

MakeSignature(fqop, Message, MessageSeqNo)

Creates a crytographic hash of a message using session key of the security context

Parameters

fqop : int

Flags that indicate quality of protection desired, specific to each security package

Message : PySecBufferDesc

Buffer set that includes buffers for input data and output signature

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 input buffer of type SECBUFFER_DATA and an output buffer of type SECBUFFER_TOKEN

Return Value

Returns None on success, and output buffer in Message will contain the signature