.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "shishi_kdcreq_add_padata" 3 "1.0.2" "shishi" "shishi" .SH NAME shishi_kdcreq_add_padata \- API function .SH SYNOPSIS .B #include .sp .BI "int shishi_kdcreq_add_padata(Shishi * " handle ", Shishi_asn1 " kdcreq ", int " padatatype ", const char * " data ", size_t " datalen ");" .SH ARGUMENTS .IP "Shishi * handle" 12 shishi handle as allocated by \fBshishi_init()\fP. .IP "Shishi_asn1 kdcreq" 12 KDC\-REQ to add PA\-DATA to. .IP "int padatatype" 12 type of PA\-DATA, see Shishi_padata_type. .IP "const char * data" 12 input array with PA\-DATA value. .IP "size_t datalen" 12 size of input array with PA\-DATA value. .SH "DESCRIPTION" Add new pre authentication data (PA\-DATA) to KDC\-REQ. This is used to pass various information to KDC, such as in case of a SHISHI_PA_TGS_REQ padatatype the AP\-REQ that authenticates the user to get the ticket. (But also see \fBshishi_kdcreq_add_padata_tgs()\fP which takes an AP\-REQ directly.) .SH "RETURN VALUE" Returns SHISHI_OK iff successful. .SH "REPORTING BUGS" Report bugs to . .SH COPYRIGHT Copyright \(co 2002-2010 Simon Josefsson. .br Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. .SH "SEE ALSO" The full documentation for .B shishi is maintained as a Texinfo manual. If the .B info and .B shishi programs are properly installed at your site, the command .IP .B info shishi .PP should give you access to the complete manual.