krb5_pac_init - Create an empty Privilege Attribute Certificate (PAC) handle.

krb5_error_code krb5_pac_init(krb5_context context, krb5_pac *pac)
param

[in] context - Library context

[out] pac - New PAC handle

retval
  • 0 Success; otherwise - Kerberos error codes

Use krb5_pac_free() to free pac when it is no longer needed.