Functions | |
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL | krb5_pac_get_buffer (krb5_context context, krb5_pac p, uint32_t type, krb5_data *data) |
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL | krb5_pac_verify (krb5_context context, const krb5_pac pac, time_t authtime, krb5_const_principal principal, const krb5_keyblock *server, const krb5_keyblock *privsvr) |
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_pac_get_buffer | ( | krb5_context | context, |
krb5_pac | p, | ||
uint32_t | type, | ||
krb5_data * | data | ||
) |
Get the PAC buffer of specific type from the pac.
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(). |
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_pac_verify | ( | krb5_context | context, |
const krb5_pac | pac, | ||
time_t | authtime, | ||
krb5_const_principal | principal, | ||
const krb5_keyblock * | server, | ||
const krb5_keyblock * | privsvr | ||
) |
Verify the PAC.
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. |