shishi_kdcreq_validate_p3
Api function
Usage
#include <shishi.h>
int shishi_kdcreq_validate_p(Shishi * handle, Shishi_asn1 kdcreq);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
Shishi_asn1 kdcreq
|
KDC-REQ variable to get kdc-options field from. |
Overview
Determine if KDC-Option validate flag is set.
This option is used only by the ticket-granting service. The VALIDATE option indicates that the request is to validate a postdated ticket. It will only be honored if the ticket presented is postdated, presently has its INVALID flag set, and would be otherwise usable at this time. A ticket cannot be validated before its starttime. The ticket presented for validation is encrypted in the key of the server for which it is valid and is passed in the padata field as part of the authentication header.
Return value
Returns non-0 iff validate flag is set in KDC-REQ.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.