diff options
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r-- | rpkid/rpki/exceptions.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py index a80ab0e5..8bde9cde 100644 --- a/rpkid/rpki/exceptions.py +++ b/rpkid/rpki/exceptions.py @@ -99,3 +99,15 @@ class WrongEContentType(RPKI_Exception): class EmptyPEM(RPKI_Exception): """Couldn't find PEM block to convert.""" + +class UnexpectedCMSCerts(RPKI_Exception): + """Received CMS certs when not expecting any.""" + +class UnexpectedCMSCRLs(RPKI_Exception): + """Received CMS CRLs when not expecting any.""" + +class MissingCMSEEcert(RPKI_Exception): + """Didn't receive CMS EE cert when expecting one.""" + +class MissingCMSCRL(RPKI_Exception): + """Didn't receive CMS CRL when expecting one.""" |