source: creddy/id.h @ 3131b19

abac0-leakabac0-meicompt_changesgec13mei-idmei-rt0-nmei_rt0mei_rt2mei_rt2_fix_1meiyap-rt1meiyap1rt2tvf-new-xml
Last change on this file since 3131b19 was 002b25a, checked in by Mike Ryan <mikeryan@…>, 14 years ago

first cut at creddy_id object, integrated into attribute

  • Property mode set to 100644
File size: 449 bytes
Line 
1#ifndef __ID_H__
2#define __ID_H__
3
4#include <credentials/certificates/certificate.h>
5#include <credentials/certificates/x509.h>
6#include <credentials/keys/private_key.h>
7
8#include "libcreddy.h"
9
10//
11// Private API
12//
13
14// get the cert from the ID
15certificate_t *creddy_id_cert(creddy_id_t *id);
16
17// get the private key from the ID
18// will return NULL if no key has been loaded
19private_key_t *creddy_id_privkey(creddy_id_t *id);
20
21#endif /* __ID_H__ */
Note: See TracBrowser for help on using the repository browser.