MIT Kerberos Documentation

krb5_pac_add_buffer - Add a buffer to a PAC handle.

krb5_error_code krb5_pac_add_buffer(krb5_context context, krb5_pac pac, krb5_ui_4 type, const krb5_data * data)

[in] context - Library context

[in] pac - PAC handle

[in] type - Buffer type

[in] data - contents

  • 0 Success; otherwise - Kerberos error codes

This function adds a buffer of type type and contents data to pac if there isn’t already a buffer of this type present.

The valid values of type is one of the following: