diff options
author | Rob Austein <sra@hactrn.net> | 2011-10-04 22:56:27 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2011-10-04 22:56:27 +0000 |
commit | 6819dd607b1c34d37811d59d0c7897e571ccb687 (patch) | |
tree | 5a741356b376447e2c1867da44e74bee5ad66460 /rpkid/rpki/exceptions.py | |
parent | 3a662b0f0ad0cfbf4d499d01cf09b84c17f80d39 (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.py | 5 |
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. + """ |