.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "shishi_ap_req_process_keyusage" 3 "1.0.2" "shishi" "shishi" .SH NAME shishi_ap_req_process_keyusage \- API function .SH SYNOPSIS .B #include .sp .BI "int shishi_ap_req_process_keyusage(Shishi_ap * " ap ", Shishi_key * " key ", int32_t " keyusage ");" .SH ARGUMENTS .IP "Shishi_ap * ap" 12 structure that holds information about AP exchange .IP "Shishi_key * key" 12 cryptographic key used to decrypt ticket in AP\-REQ. .IP "int32_t keyusage" 12 key usage to use during decryption, for normal AP\-REQ's this is normally SHISHI_KEYUSAGE_APREQ_AUTHENTICATOR, for AP\-REQ's part of TGS\-REQ's, this is normally SHISHI_KEYUSAGE_TGSREQ_APREQ_AUTHENTICATOR. .SH "DESCRIPTION" Decrypt ticket in AP\-REQ using supplied key and decrypt Authenticator in AP\-REQ using key in decrypted ticket, and on success set the Ticket and Authenticator fields in the AP exchange. .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.