#include <gssapi.h>
OM_uint32 gss_get_mic(
OM_uint32 * minor_status,
gss_ctx_id_t context_handle,
gss_qop_t qop_req,
gss_buffer_t input_message
gss_buffer_t output_token);
Service Program Name: QSYS/QKRBGSSThe gss_get_mic() function generates a cryptographic signature for a message and returns this signature in a token that can be sent to a partner application. The partner application then calls the gss_verify_mic() routine to validate the signature.
The Kerberos security mechanism supports three quality of protection levels as follows (in decreasing order or speed):
| GSS_KRB5_INTEG_C_QOP_MD5 | Truncated MD5 |
| GSS_KRB5_INTEG_C_QOP_DES_MD5 | DES_MAC of an MD5 hash (default) |
| GSS_KRB5_INTEG_C_QOP_DES_MAC | Normal DES_MAC algorithm |
The return value is one of the following status codes:
| Object Referred to | Data Authority Required |
|---|---|
| Each directory in the path name preceding the configuration file | *X |
| Configuration file | *R |
| Message ID | Error Message Text |
|---|---|
| CPE3418 E | Possible APAR condition or hardware failure. |
| Top | Security APIs UNIX-Type APIs | APIs by category |