skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_copy_ticket  Copy a Kerberos ticket structure krb5_copy_ticket Copy a Kerberos ticket structure
go to next page: krb5_deltat_to_string  Convert a Kerberos relative time value to a stringkrb5_deltat_to_string Convert a Kerberos relative time value...
end of book navigation links

krb5_decode_ticket -- Decode a formatted ticket 



C Prototype 

krb5_error_code krb5_decode_ticket (
        const krb5_data         *code,
        krb5_ticket             **rep );

Arguments 

code (input)  The formatted ticket.
rep (output)  The decoded ticket information.

Description 

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.

Return Values 

This routine returns the following KRB5 status codes:

0
Successful completion.
KRB5KDC_ERR_BAD_PVNO
Bad key version number.


go to previous page: krb5_copy_ticket  Copy a Kerberos ticket structure krb5_copy_ticket Copy a Kerberos ticket structure
go to next page: krb5_deltat_to_string  Convert a Kerberos relative time value to a stringkrb5_deltat_to_string Convert a Kerberos relative time value...