Function

gss_sign

Returns a digital signature for a message.

Declaration

OM_uint32 gss_sign(OM_uint32 *minor_status, gss_ctx_id_t context_handle, int qop_req, gss_buffer_t message_buffer, gss_buffer_t message_token);

Parameters

minor_status

A pointer to the secondary status result that provides additional information in case of failure.

context_handle

The context used to send the message.

qop_req

The quality of protection requested for the message. See Quality of Protection Constants for valid values.

message_buffer

A buffer holding the message to be protected.

message_token

A buffer the function fills with the protection token. Release this buffer with a call to gss_release_buffer when you are done with it.

Return Value

A status code set to GSS_S_COMPLETE on success. See Function Status for a complete enumeration of status outputs.

See Also

Message Wrapping and Verification

gss_get_mic

Returns a token that contains the MIC for a message.

gss_verify_mic

Returns an indication of whether the integrity of a message is intact, given its MIC token.

gss_wrap

Returns a secure message created by calculating and attaching a MIC to the input message, and then optionally encrypting it.

gss_unwrap

Returns the original version of a secure message by optionally decrypting it and then extracting and verifying the attached MIC.

gss_verify

Returns a flag that indicates the integrity of a message’s digital signature.

Deprecated
gss_seal

Returns a secure message created by calculating and attaching a MIC to the input message, and then optionally encrypting it.

Deprecated
gss_unseal

Returns the original version of a secure message by optionally decrypting it and then extracting and verifying the attached MIC.

Deprecated