From 2edf966870ae87327c381d4091178aa025ff09ff Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 26 Jan 2014 19:19:39 +0000 Subject: Checkpoint. svn path=/branches/tk671/; revision=5646 --- rpkid/rpki/exceptions.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'rpkid/rpki/exceptions.py') 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. + """ -- cgit v1.2.3 From f3ee7f51c0a091f244985ae7fd3d975a3259fee9 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 29 Jan 2014 02:32:36 +0000 Subject: Checkpoint svn path=/branches/tk671/; revision=5651 --- rpkid/rpki/exceptions.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rpkid/rpki/exceptions.py') diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py index 7a0eb71c..d8d3774e 100644 --- a/rpkid/rpki/exceptions.py +++ b/rpkid/rpki/exceptions.py @@ -360,3 +360,8 @@ class BadAutonomousSystemNumber(RPKI_Exception): """ Bad AutonomousSystem number. """ + +class WrongEKU(RPKI_Exception): + """ + Extended Key Usage extension does not match profile. + """ -- cgit v1.2.3