krb5_pac_get_buffer (3) - Linux Manuals

NAME

Heimdal Kerberos 5 PAC handling functions -

Functions


KRB5_LIB_FUNCTION
krb5_error_code KRB5_LIB_CALL krb5_pac_get_buffer (krb5_context, krb5_pac, uint32_t, krb5_data *)"

KRB5_LIB_FUNCTION
krb5_error_code KRB5_LIB_CALL krb5_pac_verify (krb5_context, const krb5_pac, time_t, krb5_const_principal, const krb5_keyblock *, const krb5_keyblock *)"

Detailed Description

Function Documentation

KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_pac_get_buffer (krb5_contextcontext, krb5_pacp, uint32_ttype, krb5_data *data)

Get the PAC buffer of specific type from the pac.

Parameters:

context Kerberos 5 context.
p the pac structure returned by krb5_pac_parse().
type type of buffer to get
data return data, free with krb5_data_free().

Returns:

Returns 0 to indicate success. Otherwise an kerberos et error code is returned, see krb5_get_error_message().

KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_pac_verify (krb5_contextcontext, const krb5_pacpac, time_tauthtime, krb5_const_principalprincipal, const krb5_keyblock *server, const krb5_keyblock *privsvr)

Verify the PAC.

Parameters:

context Kerberos 5 context.
pac the pac structure returned by krb5_pac_parse().
authtime The time of the ticket the PAC belongs to.
principal the principal to verify.
server The service key, most always be given.
privsvr The KDC key, may be given.

Returns:

Returns 0 to indicate success. Otherwise an kerberos et error code is returned, see krb5_get_error_message().

Author

Generated automatically by Doxygen for HeimdalKerberos5library from the source code.