diff options
| author | Andreas Steffen <andreas.steffen@strongswan.org> | 2016-09-15 11:39:16 +0200 |
|---|---|---|
| committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2016-09-15 11:39:16 +0200 |
| commit | 29a48b4c69992a0f1f6014069fd93fba53bfc0c0 (patch) | |
| tree | 293197bdf8582e733fdc9c81d705e11d6fefdb4e /src/libcharon/plugins/vici/python | |
| parent | 8efcc78f2b1c5a231fda6a2bfe401c0afafc4697 (diff) | |
| parent | 2c7cfe76303bce498ce302da31bc1e028a6af53a (diff) | |
| download | strongswan-29a48b4c69992a0f1f6014069fd93fba53bfc0c0.tar.bz2 strongswan-29a48b4c69992a0f1f6014069fd93fba53bfc0c0.tar.xz | |
Merge branch 'flush-certs'
Diffstat (limited to 'src/libcharon/plugins/vici/python')
| -rw-r--r-- | src/libcharon/plugins/vici/python/vici/session.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libcharon/plugins/vici/python/vici/session.py b/src/libcharon/plugins/vici/python/vici/session.py index 66de8590a..eabdb4226 100644 --- a/src/libcharon/plugins/vici/python/vici/session.py +++ b/src/libcharon/plugins/vici/python/vici/session.py @@ -166,6 +166,17 @@ class Session(object): """ self.handler.request("load-shared", secret) + def flush_certs(self, filter=None): + """Flush the volatile certificate cache. + + Flush the certificate stored temporarily in the cache. The filter + allows to flush only a certain type of certificates, e.g. CRLs. + + :param filter: flush only certificates of a given type (optional) + :type filter: dict + """ + self.handler.request("flush-certs", filter) + def clear_creds(self): """Clear credentials loaded over vici. |
