aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/exceptions.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2009-12-23 20:48:19 +0000
committerRob Austein <sra@hactrn.net>2009-12-23 20:48:19 +0000
commitaf4c7428bda82a1f045929c5f5e24b223c913802 (patch)
treecca0fe84571c18ad06ddd36c162934d65eb7af94 /rpkid/rpki/exceptions.py
parent5199aa55c5e4e60c9b247265587596c1fb754632 (diff)
Don't blow out with an exception when retrieving nextUpdate value from our own manifests.
svn path=/rpkid/rpki/exceptions.py; revision=2907
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r--rpkid/rpki/exceptions.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py
index f055cb53..0a8e597a 100644
--- a/rpkid/rpki/exceptions.py
+++ b/rpkid/rpki/exceptions.py
@@ -298,3 +298,11 @@ class NoObjectAtURI(RPKI_Exception):
"""
No object published at specified URI.
"""
+
+class CMSContentNotSet(RPKI_Exception):
+ """
+ Inner content of a CMS_object has not been set. If object is known
+ to be valid, the .extract() method should be able to set the
+ content; otherwise, only the .verify() method (which checks
+ signatures) is safe.
+ """