1KRB5_FIND_PADATA(3) BSD Library Functions Manual KRB5_FIND_PADATA(3)
2
4 krb5_find_padata, krb5_padata_add — Kerberos 5 pre-authentication data
5 handling functions
6
8 Kerberos 5 Library (libkrb5, -lkrb5)
9
11 #include <krb5.h>
12
13 PA_DATA *
14 krb5_find_padata(PA_DATA *val, unsigned len, int type, int *index);
15
16 int
17 krb5_padata_add(krb5_context context, METHOD_DATA *md, int type,
18 void *buf, size_t len);
19
21 krb5_find_padata() tries to find the pre-authentication data entry of
22 type type in the array val of length len. The search is started at entry
23 pointed out by *index (zero based indexing). If the type isn't found,
24 NULL is returned.
25
26 krb5_padata_add() adds a pre-authentication data entry of type type
27 pointed out by buf and len to md.
28
30 krb5(3), kerberos(8)
31
32HEIMDAL March 21, 2004 HEIMDAL