shishi_ap_set_tktoptionsdata(3) API function

SYNOPSIS

#include <shishi.h>

int shishi_ap_set_tktoptionsdata(Shishi_ap * ap, Shishi_tkt * tkt, int options, const char * data, size_t len);

ARGUMENTS

Shishi_ap * ap
structure that holds information about AP exchange
Shishi_tkt * tkt
ticket to set in AP.
int options
AP-REQ options to set in AP.
const char * data
input array with data to checksum in Authenticator.
size_t len
length of input array with data to checksum in Authenticator.

DESCRIPTION

Set the ticket (see shishi_ap_tkt_set()) and set the AP-REQ apoptions (see shishi_apreq_options_set()) and set the Authenticator checksum data.

RETURN VALUE

Returns SHISHI_OK iff successful.

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.