diff options
author | Rob Austein <sra@hactrn.net> | 2014-04-05 19:24:26 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-04-05 19:24:26 +0000 |
commit | 3e9ffaab9aef186a3c94123bcfc8346aebda026d (patch) | |
tree | 3127d04811c8bf780641314cbd4c7f3e5a286e91 /rpkid/rpki/exceptions.py | |
parent | b221ad67e384afbfc8513488325a6e29414e0085 (diff) | |
parent | 5cb86d4686552904bd16affffb902410e2580471 (diff) |
Merge tk671 (router certificate support) back to trunk. See #671.
svn path=/trunk/; revision=5753
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. + """ |