1 |
|
---|
2 | KRB5_RD_SAFE(3) BSD Library Functions Manual KRB5_RD_SAFE(3)
|
---|
3 |
|
---|
4 | NNAAMMEE
|
---|
5 | kkrrbb55__rrdd__ssaaffee, kkrrbb55__rrdd__pprriivv -- verifies authenticity of messages
|
---|
6 |
|
---|
7 | LLIIBBRRAARRYY
|
---|
8 | Kerberos 5 Library (libkrb5, -lkrb5)
|
---|
9 |
|
---|
10 | SSYYNNOOPPSSIISS
|
---|
11 | ##iinncclluuddee <<kkrrbb55..hh>>
|
---|
12 |
|
---|
13 | _k_r_b_5___e_r_r_o_r___c_o_d_e
|
---|
14 | kkrrbb55__rrdd__pprriivv(_k_r_b_5___c_o_n_t_e_x_t _c_o_n_t_e_x_t, _k_r_b_5___a_u_t_h___c_o_n_t_e_x_t _a_u_t_h___c_o_n_t_e_x_t,
|
---|
15 | _c_o_n_s_t _k_r_b_5___d_a_t_a _*_i_n_b_u_f, _k_r_b_5___d_a_t_a _*_o_u_t_b_u_f,
|
---|
16 | _k_r_b_5___r_e_p_l_a_y___d_a_t_a _*_o_u_t_d_a_t_a);
|
---|
17 |
|
---|
18 | _k_r_b_5___e_r_r_o_r___c_o_d_e
|
---|
19 | kkrrbb55__rrdd__ssaaffee(_k_r_b_5___c_o_n_t_e_x_t _c_o_n_t_e_x_t, _k_r_b_5___a_u_t_h___c_o_n_t_e_x_t _a_u_t_h___c_o_n_t_e_x_t,
|
---|
20 | _c_o_n_s_t _k_r_b_5___d_a_t_a _*_i_n_b_u_f, _k_r_b_5___d_a_t_a _*_o_u_t_b_u_f,
|
---|
21 | _k_r_b_5___r_e_p_l_a_y___d_a_t_a _*_o_u_t_d_a_t_a);
|
---|
22 |
|
---|
23 | DDEESSCCRRIIPPTTIIOONN
|
---|
24 | kkrrbb55__rrdd__ssaaffee() and kkrrbb55__rrdd__pprriivv() parses KRB-SAFE and KRB-PRIV messages
|
---|
25 | (as generated by krb5_mk_safe(3) and krb5_mk_priv(3)) from _i_n_b_u_f and ver-
|
---|
26 | ifies its integrity. The user data part of the message in put in _o_u_t_b_u_f.
|
---|
27 | The encryption state, including keyblocks and addresses, is taken from
|
---|
28 | _a_u_t_h___c_o_n_t_e_x_t. If the KRB5_AUTH_CONTEXT_RET_SEQUENCE or
|
---|
29 | KRB5_AUTH_CONTEXT_RET_TIME flags are set in the _a_u_t_h___c_o_n_t_e_x_t the sequence
|
---|
30 | number and time are returned in the _o_u_t_d_a_t_a parameter.
|
---|
31 |
|
---|
32 | SSEEEE AALLSSOO
|
---|
33 | krb5_auth_con_init(3), krb5_mk_priv(3), krb5_mk_safe(3)
|
---|
34 |
|
---|
35 | HEIMDAL May 1, 2006 HEIMDAL
|
---|