Added private key support to in-memory credential set
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user