Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gss_verify_mic(3) [hpux man page]

gss_verify_mic(3)					     Library Functions Manual						 gss_verify_mic(3)

NAME
gss_verify_mic() - check a cryptographic message integrity code (MIC) against a message to verify its integrity SYNOPSIS
DESCRIPTION
The routine verifies that a cryptographic MIC, contained in the token_buffer parameter, fits the supplied message. The application receiv- ing the message can use the qop_state parameter to check the strength of protection. Input Parameters context_handle Specifies the context on which the message arrived. message_buffer Specifies the message to be verified. token_buffer Specifies the token to be associated with the message. Output Parameters qop_state Returns the quality of protection gained from message integrity code (MIC). Specify NULL if not required. minor_status Returns a status code from the security mechanism. STATUS CODES
The following status codes can be returned: The routine was completed successfully. The token failed consistency checks. The MIC was incorrect. The token was valid, and contained a correct MIC for the message, but it had already been processed. The token was valid, and contained a correct MIC for the message, but it is too old. The token was valid, and contained a correct MIC for the message, but has been verified out of sequence. A later token has already been received. The token was valid, and contained a correct MIC for the message, but has been verified out of sequence. An earlier expected token has not yet been received. The context has already expired. The routine failed. Check the minor_status parameter for details. The context identified in the context_handle parameter was not valid. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
gss_get_mic(3), gss_wrap(3). The manpages for DCE-GSSAPI are included with the DCE-CoreTools product. To see those manpages add to gss_verify_mic(3)

Check Out this Related Man Page

gss_unwrap(3)						     Library Functions Manual						     gss_unwrap(3)

NAME
gss_unwrap - verify a message with attached message integrity code (MIC) and decrypt message content if necessary SYNOPSIS
DESCRIPTION
The routine converts a protected message to a usable form and verifies the embedded message integrity code (MIC). The conf_state parameter indicates whether the message was encrypted. The qop_state parameter indicates the quality of protection that was used to provide the con- fidentiality and integrity services. Input Parameters context_handle Specifies the context on which the message arrived. input_message_buffer Specifies the protected message. output_message_buffer Specifies the buffer to receive the unwrapped message. Output Parameters conf_state Returns the requested level of confidentiality and integrity services, as follows: Non-zero Both confidentiality and integrity services were used. zero Only integrity services was used. qop_state Returns the cryptographic algorithm, or quality of protection. minor_status Returns a status code from the security mechanism. STATUS CODES
The following status codes can be returned: The routine was completed successfully. The signature was incorrect. The context has already expired. The context is recognized but the associated credentials have expired. The token failed consistency checks. The token was valid and contained the correct signature but it had already been processed. The routine failed. The context specified in the context_handle parameter was not valid. The context identified in the context_handle parameter was not valid. The token was valid and contained the correct signature but it is too old. The token was valid, and contained a correct MIC for the message, but has been verified out of sequence; a later token has already been received. The token was valid, and contained a correct MIC for the message, but has been verified out of sequence; an earlier expected token has not yet been received. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
gss_get_mic(3), gss_wrap(3). gss_unwrap(3)
Man Page