Added private key support to in-memory credential set

This commit is contained in:
Martin Willi
2010-08-25 10:28:23 +02:00
parent 72c6335de9
commit 3dd06bd4ed
2 changed files with 77 additions and 1 deletions
@@ -43,6 +43,13 @@ struct mem_cred_t {
*/
void (*add_cert)(mem_cred_t *this, bool trusted, certificate_t *cert);
/**
* Add a private key to the credential set.
*
* @param key key, reference gets owned by set
*/
void (*add_key)(mem_cred_t *this, private_key_t *key);
/**
* Add a shared key to the credential set.
*