aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/exceptions.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2011-10-04 22:56:27 +0000
committerRob Austein <sra@hactrn.net>2011-10-04 22:56:27 +0000
commit6819dd607b1c34d37811d59d0c7897e571ccb687 (patch)
tree5a741356b376447e2c1867da44e74bee5ad66460 /rpkid/rpki/exceptions.py
parent3a662b0f0ad0cfbf4d499d01cf09b84c17f80d39 (diff)
Add explicit check for certificate expiration in CMS verify (see #94).
svn path=/rpkid/rpki/exceptions.py; revision=4011
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r--rpkid/rpki/exceptions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py
index f57c679d..b1948337 100644
--- a/rpkid/rpki/exceptions.py
+++ b/rpkid/rpki/exceptions.py
@@ -326,3 +326,8 @@ class CommandParseFailure(RPKI_Exception):
"""
Failed to parse command line.
"""
+
+class CMSCertHasExpired(RPKI_Exception):
+ """
+ CMS certificate has expired.
+ """