shishi_kdcreq_allow_postdate_p(3) API function

SYNOPSIS

#include <shishi.h>

int shishi_kdcreq_allow_postdate_p(Shishi * handle, Shishi_asn1 kdcreq);

ARGUMENTS

Shishi * handle
shishi handle as allocated by shishi_init().
Shishi_asn1 kdcreq
KDC-REQ variable to get kdc-options field from.

DESCRIPTION

Determine if KDC-Option allow-postdate flag is set.

The ALLOW-POSTDATE option indicates that the ticket to be issued is to have its MAY-POSTDATE flag set. It may only be set on the initial request, or in a subsequent request if the ticket-granting ticket on which it is based also has its MAY-POSTDATE flag set.

RETURN VALUE

Returns non-0 iff allow-postdate flag is set in KDC-REQ.

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.