shishi_krberror_methoddata3
Api function
Usage
#include <shishi.h>
int shishi_krberror_methoddata(Shishi * handle, Shishi_asn1 krberror, Shishi_asn1 * methoddata);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
Shishi_asn1 krberror
|
KRB-ERROR structure with error code. |
Shishi_asn1 * methoddata
|
output ASN.1 METHOD-DATA. |
Overview
Extract METHOD-DATA ASN.1 object from the e-data field. The e-data field will only contain a METHOD-DATA if the krberror error code is SHISHI_KDC_ERR_PREAUTH_REQUIRED.
Return value
Returns SHISHI_OK iff successful.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.