shishi_kdcreq_add_padata_tgs3
Api function
Usage
#include <shishi.h>
int shishi_kdcreq_add_padata_tgs(Shishi * handle, Shishi_asn1 kdcreq, Shishi_asn1 apreq);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
Shishi_asn1 kdcreq
|
KDC-REQ to add PA-DATA to. |
Shishi_asn1 apreq
|
AP-REQ to add as PA-DATA. |
Overview
Add TGS pre-authentication data to KDC-REQ. The data is an AP-REQ that authenticates the request. This functions simply DER encodes the AP-REQ and calls shishi_kdcreq_add_padata() with a SHISHI_PA_TGS_REQ padatatype.
Return value
Returns SHISHI_OK iff successful.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.