aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r--rpkid/rpki/exceptions.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py
index b1948337..4e4bc42a 100644
--- a/rpkid/rpki/exceptions.py
+++ b/rpkid/rpki/exceptions.py
@@ -331,3 +331,13 @@ class CMSCertHasExpired(RPKI_Exception):
"""
CMS certificate has expired.
"""
+
+class TrustedCMSCertHasExpired(RPKI_Exception):
+ """
+ Trusted CMS certificate has expired.
+ """
+
+class MultipleCMSEECert(RPKI_Exception):
+ """
+ Can't have more than one CMS EE certificate in validation chain.
+ """