diff options
author | Rob Austein <sra@hactrn.net> | 2013-04-19 20:33:14 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2013-04-19 20:33:14 +0000 |
commit | 05eaca3a52b1049ec69b7788deb4872df1c0d7c5 (patch) | |
tree | bb5303470d2dba45850b6af6f4a6c69c3994b723 /rpkid/rpki/exceptions.py | |
parent | ddfb8c4eb8139b94e1031c6f8555aee4b6287afb (diff) |
Throw exception when asked to issue a certificate with notAfter <=
notBefore.
Don't stomp ghostbuster_obj if we've just reused it.
Clean up properly when deleting a ca_detail.
Don't reissue expiring certificate if IRDB valid_until field says it's
supposed to expire.
svn path=/trunk/; revision=5302
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r-- | rpkid/rpki/exceptions.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py index 0f5dbc49..12abed7e 100644 --- a/rpkid/rpki/exceptions.py +++ b/rpkid/rpki/exceptions.py @@ -3,7 +3,7 @@ Exception definitions for RPKI modules. $Id$ -Copyright (C) 2009--2012 Internet Systems Consortium ("ISC") +Copyright (C) 2009--2013 Internet Systems Consortium ("ISC") Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -351,3 +351,8 @@ class CMSReplay(RPKI_Exception): """ Possible CMS replay attack detected. """ + +class PastNotAfter(RPKI_Exception): + """ + Requested notAfter value is already in the past. + """ |