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

NAME

4     krb5_mk_safe, krb5_mk_priv — generates integrity protected and/or
5     encrypted messages
6

LIBRARY

8     Kerberos 5 Library (libkrb5, -lkrb5)
9

SYNOPSIS

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

DESCRIPTION

24     krb5_mk_safe() and krb5_mk_priv() formats KRB-SAFE (integrity protected)
25     and KRB-PRIV (also encrypted) messages into outbuf.  The actual message
26     data is taken from userdata.  If the KRB5_AUTH_CONTEXT_DO_SEQUENCE or
27     KRB5_AUTH_CONTEXT_DO_TIME flags are set in the auth_context, sequence
28     numbers and time stamps are generated.  If the
29     KRB5_AUTH_CONTEXT_RET_SEQUENCE or KRB5_AUTH_CONTEXT_RET_TIME flags are
30     set they are also returned in the outdata parameter.
31

SEE ALSO

33     krb5_auth_con_init(3), krb5_rd_priv(3), krb5_rd_safe(3)
34
35HEIMDAL                           May 1, 2006                          HEIMDAL
Impressum