krb5_error_code krb5_rd_cred ( krb5_context context, krb5_auth_context auth_context, krb5_data *pcreddata, krb5_creds ***pppcreds, krb5_replay_data *outdata );
The context structure.
A per-connection context.
The KRB_CRED message.
The array of forwarded credentials.
The replay data information (the nonce).
This routine reads a KRB_CRED message, validates it, and outputs the nonce and an array of the forwarded credentials.
This routine returns one of the following KRB5 status codes:
Successful completion.
KRB5_RC_REQUIRED
Message replay detection requires rcache parameter.
KRB5KRB_AP_ERR_SKEW
Clock skew too great.
KRB5KRB_AP_ERR_BADORDER
Message out of order.
Insufficient memory.