aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/x509.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid/rpki/x509.py')
-rw-r--r--rpkid/rpki/x509.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/rpkid/rpki/x509.py b/rpkid/rpki/x509.py
index 2d5505d5..29470c31 100644
--- a/rpkid/rpki/x509.py
+++ b/rpkid/rpki/x509.py
@@ -1402,6 +1402,13 @@ class XML_CMS_object(CMS_object):
self.schema_check()
return self.saxify(self.get_content())
+ ## @var saxify
+ # SAX handler hook. Subclasses can set this to a SAX handler, in
+ # which case .unwrap() will call it and return the result.
+ # Otherwise, .unwrap() just returns a verified element tree.
+
+ saxify = staticmethod(lambda x: x)
+
class Ghostbuster(CMS_object):
"""
Class to hold Ghostbusters record (CMS-wrapped VCard). This is