shishi_tgs_process3
Api function
Usage
#include <shishi.h>
int shishi_tgs_process(Shishi * handle, Shishi_asn1 tgsreq, Shishi_asn1 tgsrep, Shishi_asn1 authenticator, Shishi_asn1 oldenckdcreppart, Shishi_asn1 * enckdcreppart);
Arguments
Shishi * handle
|
Shishi handle as allocated by |
|---|---|
Shishi_asn1 tgsreq
|
Input variable holding the transmitted KDC-REQ. |
Shishi_asn1 tgsrep
|
Input variable holding the received KDC-REP. |
Shishi_asn1 authenticator
|
Input variable with an authenticator extracted from the AP-REQ part of tgsreq. |
Shishi_asn1 oldenckdcreppart
|
Input variable with EncKDCRepPart used in the request. |
Shishi_asn1 * enckdcreppart
|
Output variable holding the new EncKDCRepPart. |
Overview
Processes a TGS client exchange and outputs the decrypted EncKDCRepPart, holding details about the received ticket. This function simply derives the encryption key from the ticket used to construct the original TGS request, and then calls shishi_kdc_process().
Return value
Returns SHISHI_OK if the TGS client exchange was successful. Failures include ASN.1 and TGS conditions.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.