#include <cat/cat.h>
int catcert_publickey(const cat_cert *cert, cat_data *key);
cat_data
structure pointed to by key. The cat_data
structure is defined as follows:
struct cat_data { int len; char *data; }; typedef struct cat_data cat_data;
The data member of the result is allocated and must be freed by the caller.