#include <cat/cat.h>
int catpsd_setpac(cat_session *sess, const cat_data *pac);
The PAC should have the same public key as the certificate in the Virtual Card, and a Virtual Card should already have been installed.
The function returns 0 if successful, or a negative code on error.