diff options
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r-- | rpkid/rpki/exceptions.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py index c8874f3f..91f7e351 100644 --- a/rpkid/rpki/exceptions.py +++ b/rpkid/rpki/exceptions.py @@ -94,6 +94,12 @@ class MustBePrefix(RPKI_Exception): class TLSValidationError(RPKI_Exception): """TLS certificate validation error.""" +class MultipleTLSEECert(TLSValidationError): + """Received more than one TLS EE certificate.""" + +class ReceivedTLSCACert(TLSValidationError): + """Received CA certificate via TLS.""" + class WrongEContentType(RPKI_Exception): """Received wrong CMS eContentType.""" @@ -114,6 +120,3 @@ class MissingCMSCRL(RPKI_Exception): class UnparsableCMSDER(RPKI_Exception): """Alleged CMS DER wasn't parsable.""" - -class MultipleTLSEECert(RPKI_Exception): - """Received more than one TLS EE certificate.""" |