NAME [Toc] [Back]
gss_get_mic() - calculate a cryptographic message integrity code (MIC)
for a message and return in a token
SYNOPSIS [Toc] [Back]
OM_uint32 gss_get_mic (
const gss_ctx_id_t context_handle,
const gss_buffer_t message_buffer,
DESCRIPTION [Toc] [Back]
The gss_get_mic() routine generates a cryptographic message integrity
code (MIC) for the supplied message and places the MIC in a token for
transfer to the peer application. The qop_req parameter allows a
choice between several cryptographic algorithms, if supported by the
Input Parameters [Toc] [Back]
context_handle Specifies the context on which the message is
qop_req Specifies the cryptographic algorithm, or
quality of protection. To accept the default
quality of protection offered by the chosen
mechanism specify GSS_C_QOP_DEFAULT.
message_buffer Specifies the message to be protected.
Output Parameters [Toc] [Back]
msg_token Buffer to receive the sealed message.
minor_status Returns a status code from the security
STATUS CODES [Toc] [Back]
The following status codes can be returned:
GSS_S_COMPLETE The routine was completed successfully.
GSS_S_CONTEXT_EXPIRED The context has already expired.
GSS_S_CREDENTIALS_EXPIRED [Toc] [Back]
The context is recognized but the associated
credentials have expired.
GSS_S_NO_CONTEXT The context identified in the context_handle
parameter was not valid.
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
GSS_S_BAD_QOP The specified QOP is not supported by the
AUTHOR [Toc] [Back]
gss_get_mic() was developed by Sun Microsystems, Inc.
SEE ALSO [Toc] [Back]
The manpages for DCE-GSSAPI are included with the DCE-CoreTools
product. To see those manpages add /opt/dce/share/man to MANPATH.
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003 [ Back ]