]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - crypto/heimdal/doc/doxyout/krb5/man/man3/krb5_pac.3
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / crypto / heimdal / doc / doxyout / krb5 / man / man3 / krb5_pac.3
1 .TH "Heimdal Kerberos 5 PAC handling functions" 3 "11 Jan 2012" "Version 1.5.2" "HeimdalKerberos5library" \" -*- nroff -*-
2 .ad l
3 .nh
4 .SH NAME
5 Heimdal Kerberos 5 PAC handling functions \- 
6 .SS "Functions"
7
8 .in +1c
9 .ti -1c
10 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_pac_get_buffer\fP (krb5_context context, krb5_pac p, uint32_t type, krb5_data *data)"
11 .br
12 .ti -1c
13 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_pac_verify\fP (krb5_context context, const krb5_pac pac, time_t authtime, krb5_const_principal principal, const krb5_keyblock *server, const krb5_keyblock *privsvr)"
14 .br
15 .in -1c
16 .SH "Detailed Description"
17 .PP 
18
19 .SH "Function Documentation"
20 .PP 
21 .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_pac_get_buffer (krb5_context context, krb5_pac p, uint32_t type, krb5_data * data)"
22 .PP
23 Get the PAC buffer of specific type from the pac.
24 .PP
25 \fBParameters:\fP
26 .RS 4
27 \fIcontext\fP Kerberos 5 context. 
28 .br
29 \fIp\fP the pac structure returned by krb5_pac_parse(). 
30 .br
31 \fItype\fP type of buffer to get 
32 .br
33 \fIdata\fP return data, free with \fBkrb5_data_free()\fP.
34 .RE
35 .PP
36 \fBReturns:\fP
37 .RS 4
38 Returns 0 to indicate success. Otherwise an kerberos et error code is returned, see krb5_get_error_message(). 
39 .RE
40 .PP
41
42 .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_pac_verify (krb5_context context, const krb5_pac pac, time_t authtime, krb5_const_principal principal, const krb5_keyblock * server, const krb5_keyblock * privsvr)"
43 .PP
44 Verify the PAC.
45 .PP
46 \fBParameters:\fP
47 .RS 4
48 \fIcontext\fP Kerberos 5 context. 
49 .br
50 \fIpac\fP the pac structure returned by krb5_pac_parse(). 
51 .br
52 \fIauthtime\fP The time of the ticket the PAC belongs to. 
53 .br
54 \fIprincipal\fP the principal to verify. 
55 .br
56 \fIserver\fP The service key, most always be given. 
57 .br
58 \fIprivsvr\fP The KDC key, may be given.
59 .RE
60 .PP
61 \fBReturns:\fP
62 .RS 4
63 Returns 0 to indicate success. Otherwise an kerberos et error code is returned, see krb5_get_error_message(). 
64 .RE
65 .PP
66