aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/exceptions.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-01-26 19:19:39 +0000
committerRob Austein <sra@hactrn.net>2014-01-26 19:19:39 +0000
commit2edf966870ae87327c381d4091178aa025ff09ff (patch)
tree44cc0d8f8dde15c1503cfead21a1e8d68251c088 /rpkid/rpki/exceptions.py
parent3bc8ab851de7d5be2b9c6258de56c0cf41634f0e (diff)
Checkpoint.
svn path=/branches/tk671/; revision=5646
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 d390d67b..7a0eb71c 100644
--- a/rpkid/rpki/exceptions.py
+++ b/rpkid/rpki/exceptions.py
@@ -350,3 +350,13 @@ class NullValidityInterval(RPKI_Exception):
"""
Requested validity interval is null.
"""
+
+class BadX510DN(RPKI_Exception):
+ """
+ X.510 distinguished name does not match profile.
+ """
+
+class BadAutonomousSystemNumber(RPKI_Exception):
+ """
+ Bad AutonomousSystem number.
+ """