Added certificate support to in-memory credential set

This commit is contained in:
Martin Willi
2010-08-25 10:28:22 +02:00
parent e54e86cb49
commit 72c6335de9
2 changed files with 121 additions and 2 deletions
@@ -35,6 +35,14 @@ struct mem_cred_t {
*/
credential_set_t set;
/**
* Add a certificate to the credential set.
*
* @param trusted TRUE to serve certificate as trusted
* @param cert certificate, reference gets owned by set
*/
void (*add_cert)(mem_cred_t *this, bool trusted, certificate_t *cert);
/**
* Add a shared key to the credential set.
*