[an error occurred while processing this directive]
krb5_error_code krb5_decode_ticket ( const krb5_data *code, krb5_ticket **rep );
The formatted ticket.
The decoded ticket information.
This routine takes a formatted ticket code and decodes it, filling in rep with the results.
The contents of rep are set to allocated storage that should be freed by the caller (using krb5_free_ticket) when finished with the ticket.
This routine returns the following KRB5 status codes:
0
KRB5KDC_ERR_BAD_PVNO
Bad key version number.