shishi_kdcreq_get_padata_tgs3
Api function
Usage
#include <shishi.h>
int shishi_kdcreq_get_padata_tgs(Shishi * handle, Shishi_asn1 kdcreq, Shishi_asn1 * apreq);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
Shishi_asn1 kdcreq
|
KDC-REQ to get PA-TGS-REQ from. |
Shishi_asn1 * apreq
|
Output variable with newly allocated AP-REQ. |
Overview
Extract TGS pre-authentication data from KDC-REQ. The data is an AP-REQ that authenticates the request. This function call shishi_kdcreq_get_padata() with a SHISHI_PA_TGS_REQ padatatype and DER decode the result (if any).
Return value
Returns SHISHI_OK iff successful.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.