shishi_ap_req_process_keyusage3
Api function
Usage
#include <shishi.h>
int shishi_ap_req_process_keyusage(Shishi_ap * ap, Shishi_key * key, int32_t keyusage);
Arguments
- Shishi_ap * ap
-
structure that holds information about AP exchange
- Shishi_key * key
-
cryptographic key used to decrypt ticket in AP-REQ.
- int32_t keyusage
-
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.
Overview
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.
Return value
Returns SHISHI_OK iff successful.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.