1KRB5_RD_SAFE(3)          BSD Library Functions Manual          KRB5_RD_SAFE(3)
2

NAME

4     krb5_rd_safe, krb5_rd_priv — verifies authenticity of messages
5

LIBRARY

7     Kerberos 5 Library (libkrb5, -lkrb5)
8

SYNOPSIS

10     #include <krb5.h>
11
12     krb5_error_code
13     krb5_rd_priv(krb5_context context, krb5_auth_context auth_context,
14         const krb5_data *inbuf, krb5_data *outbuf,
15         krb5_replay_data *outdata);
16
17     krb5_error_code
18     krb5_rd_safe(krb5_context context, krb5_auth_context auth_context,
19         const krb5_data *inbuf, krb5_data *outbuf,
20         krb5_replay_data *outdata);
21

DESCRIPTION

23     krb5_rd_safe() and krb5_rd_priv() parses KRB-SAFE and KRB-PRIV messages
24     (as generated by krb5_mk_safe(3) and krb5_mk_priv(3)) from inbuf and ver‐
25     ifies its integrity. The user data part of the message in put in outbuf.
26     The encryption state, including keyblocks and addresses, is taken from
27     auth_context.  If the KRB5_AUTH_CONTEXT_RET_SEQUENCE or
28     KRB5_AUTH_CONTEXT_RET_TIME flags are set in the auth_context the sequence
29     number and time are returned in the outdata parameter.
30

SEE ALSO

32     krb5_auth_con_init(3), krb5_mk_priv(3), krb5_mk_safe(3)
33
34HEIMDAL                           May 1, 2006                          HEIMDAL
Impressum