logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

krb5_mk_safe()  and  krb5_mk_priv()  formats KRB-SAFE (integrity protected) and KRB-PRIV (also encrypted)
       messages   into   outbuf.    The   actual   message   data   is   taken   from    userdata.     If    the
       KRB5_AUTH_CONTEXT_DO_SEQUENCE  or  KRB5_AUTH_CONTEXT_DO_TIME  flags are set in the 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 outdata parameter.

Library

       Kerberos 5 Library (libkrb5, -lkrb5)

Name

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

See Also

krb5_auth_con_init(3), krb5_rd_priv(3), krb5_rd_safe(3)

HEIMDAL                                            May 1, 2006                                   KRB5_MK_SAFE(3)

Synopsis

#include<krb5.h>krb5_error_codekrb5_mk_priv(krb5_contextcontext,   krb5_auth_contextauth_context,   constkrb5_data*userdata,
           krb5_data*outbuf, krb5_replay_data*outdata);

       krb5_error_codekrb5_mk_safe(krb5_contextcontext,   krb5_auth_contextauth_context,   constkrb5_data*userdata,
           krb5_data*outbuf, krb5_replay_data*outdata);

See Also