diff options
Diffstat (limited to 'src/charon/credentials/credential_manager.h')
-rw-r--r-- | src/charon/credentials/credential_manager.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/charon/credentials/credential_manager.h b/src/charon/credentials/credential_manager.h index 7c84c43b8..0848f5fb0 100644 --- a/src/charon/credentials/credential_manager.h +++ b/src/charon/credentials/credential_manager.h @@ -163,8 +163,18 @@ struct credential_manager_t { key_type_t type, identification_t *id, auth_info_t *auth); /** + * Cache a certificate by invoking cache_cert() on all registerd sets. + * + * @param cert certificate to cache + */ + void (*cache_cert)(credential_manager_t *this, certificate_t *cert); + + /** * Flush the certificate cache. * + * Only the managers local cache is flushed, but not the sets cache filled + * by the cache_cert() method. + * * @param type type of certificate to flush, or CERT_ANY */ void (*flush_cache)(credential_manager_t *this, certificate_type_t type); |