shishi_as_process3
Api function
Usage
#include <shishi.h>
int shishi_as_process(Shishi * handle, Shishi_asn1 asreq, Shishi_asn1 asrep, const char * string, Shishi_asn1 * enckdcreppart);
Arguments
Shishi * handle
|
Shishi handle as allocated by |
|---|---|
Shishi_asn1 asreq
|
Input variable holding the transmitted KDC-REQ. |
Shishi_asn1 asrep
|
Input variable holding the received KDC-REP. |
const char * string
|
Input variable with a null terminated password. |
Shishi_asn1 * enckdcreppart
|
Output variable returning a new EncKDCRepPart. |
Overview
Processes an AS client exchange and returns the decrypted EncKDCRepPart, holding details about the received ticket. This function simply derives the encryption key from the password, and then calls shishi_kdc_process().
Return value
Returns SHISHI_OK if the AS client exchange was successful. Multiple failure conditions are possible.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.