diff options
author | Michael Elkins <melkins@tislabs.com> | 2014-04-07 17:38:40 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2014-04-07 17:38:40 +0000 |
commit | 1a1c9b672049f1e6836bbccd96fe1734cc791456 (patch) | |
tree | a1e2c0b8336a7ffa267261fc184c64f666ec01ea /rpkid/rpki/exceptions.py | |
parent | b403f46676c6dcde856f3a943361f08c2a6fe5f3 (diff) | |
parent | aa28ef54c271fbe4d52860ff8cf13cab19e2207c (diff) |
merge with ^/trunk
svn path=/branches/tk674/; revision=5761
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r-- | rpkid/rpki/exceptions.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py index d390d67b..d8d3774e 100644 --- a/rpkid/rpki/exceptions.py +++ b/rpkid/rpki/exceptions.py @@ -350,3 +350,18 @@ 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. + """ + +class WrongEKU(RPKI_Exception): + """ + Extended Key Usage extension does not match profile. + """ |