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

[1mNAME[0m
     [1mkrb5_rd_safe[22m, [1mkrb5_rd_priv [22m-- verifies authenticity of messages

[1mLIBRARY[0m
     Kerberos 5 Library (libkrb5, -lkrb5)

[1mSYNOPSIS[0m
     [1m#include <krb5.h>[0m

     [4mkrb5_error_code[0m
     [1mkrb5_rd_priv[22m([4mkrb5_context[24m [4mcontext[24m, [4mkrb5_auth_context[24m [4mauth_context[24m,
         [4mconst[24m [4mkrb5_data[24m [4m*inbuf[24m, [4mkrb5_data[24m [4m*outbuf[24m,
         [4mkrb5_replay_data[24m [4m*outdata[24m);

     [4mkrb5_error_code[0m
     [1mkrb5_rd_safe[22m([4mkrb5_context[24m [4mcontext[24m, [4mkrb5_auth_context[24m [4mauth_context[24m,
         [4mconst[24m [4mkrb5_data[24m [4m*inbuf[24m, [4mkrb5_data[24m [4m*outbuf[24m,
         [4mkrb5_replay_data[24m [4m*outdata[24m);

[1mDESCRIPTION[0m
     [1mkrb5_rd_safe[22m() and [1mkrb5_rd_priv[22m() parses KRB-SAFE and KRB-PRIV messages
     (as generated by krb5_mk_safe(3) and krb5_mk_priv(3)) from [4minbuf[24m and ver-
     ifies its integrity. The user data part of the message in put in [4moutbuf[24m.
     The encryption state, including keyblocks and addresses, is taken from
     [4mauth_context[24m.  If the KRB5_AUTH_CONTEXT_RET_SEQUENCE or
     KRB5_AUTH_CONTEXT_RET_TIME flags are set in the [4mauth_context[24m the sequence
     number and time are returned in the [4moutdata[24m parameter.

[1mSEE ALSO[0m
     krb5_auth_con_init(3), krb5_mk_priv(3), krb5_mk_safe(3)

HEIMDAL                           May 1, 2006                          HEIMDAL
