krb5_rd_safe(3) verifies authenticity of messages

Other Alias

krb5_rd_priv

LIBRARY

Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS

In krb5.h

Ft krb5_error_code Fn krb5_rd_priv krb5_context context krb5_auth_context auth_context const krb5_data *inbuf krb5_data *outbuf krb5_replay_data *outdata Ft krb5_error_code Fn krb5_rd_safe krb5_context context krb5_auth_context auth_context const krb5_data *inbuf krb5_data *outbuf krb5_replay_data *outdata

DESCRIPTION

Fn krb5_rd_safe and Fn krb5_rd_priv parses KRB-SAFE and KRB-PRIV messages (as generated by krb5_mk_safe3 and krb5_mk_priv3) from Fa inbuf and verifies its integrity. The user data part of the message in put in Fa outbuf . The encryption state, including keyblocks and addresses, is taken from Fa auth_context . If the KRB5_AUTH_CONTEXT_RET_SEQUENCE or KRB5_AUTH_CONTEXT_RET_TIME flags are set in the Fa auth_context the sequence number and time are returned in the Fa outdata parameter.