diff options
Diffstat (limited to 'src/libstrongswan/credentials/sets/mem_cred.h')
-rw-r--r-- | src/libstrongswan/credentials/sets/mem_cred.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstrongswan/credentials/sets/mem_cred.h b/src/libstrongswan/credentials/sets/mem_cred.h index 18b42b900..5863cc857 100644 --- a/src/libstrongswan/credentials/sets/mem_cred.h +++ b/src/libstrongswan/credentials/sets/mem_cred.h @@ -36,6 +36,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. * * @param shared shared key to add, gets owned by set |