SYNOPSIS
#include <shishi.h>int shishi_tkt_invalid_p(Shishi_tkt * tkt);
ARGUMENTS
- Shishi_tkt * tkt
- input variable with ticket info.
DESCRIPTION
Determine if ticket is invalid.The INVALID flag indicates that a ticket is invalid. Application servers MUST reject tickets which have this flag set. A postdated ticket will be issued in this form. Invalid tickets MUST be validated by the KDC before use, by presenting them to the KDC in a TGS request with the VALIDATE option specified. The KDC will only validate tickets after their starttime has passed. The validation is required so that postdated tickets which have been stolen before their starttime can be rendered permanently invalid (through a hot-list mechanism).
RETURN VALUE
Returns non-0 iff invalid flag is set in ticket.REPORTING BUGS
Report bugs to <[email protected]>.COPYRIGHT
Copyright © 2002-2010 Simon Josefsson.Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.