diff options
author | Rob Austein <sra@hactrn.net> | 2009-12-23 20:48:19 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-12-23 20:48:19 +0000 |
commit | af4c7428bda82a1f045929c5f5e24b223c913802 (patch) | |
tree | cca0fe84571c18ad06ddd36c162934d65eb7af94 /rpkid/rpki/exceptions.py | |
parent | 5199aa55c5e4e60c9b247265587596c1fb754632 (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.py | 8 |
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. + """ |