NAME

catpsd_setpac - override certificate for local Virtual Card

SYNOPSIS

#include <cat/cat.h>

int catpsd_setpac(cat_session *sess, const cat_data *pac);

DESCRIPTION

This function overrides the local Virtual Card certificate that is used as a client-side certificate for the session.

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.

SEE ALSO

catpsd