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