aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/irdb/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid/rpki/irdb/models.py')
-rw-r--r--rpkid/rpki/irdb/models.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/rpkid/rpki/irdb/models.py b/rpkid/rpki/irdb/models.py
index 198371a7..107d2f5a 100644
--- a/rpkid/rpki/irdb/models.py
+++ b/rpkid/rpki/irdb/models.py
@@ -120,19 +120,8 @@ class PKCS10Field(DERField):
class SignedReferral(rpki.x509.XML_CMS_object):
encoding = "us-ascii"
-
- # We don't really want all of the myrpki schema, just the
- # authorization token. Will probably end up needing to write
- # another schema.
- #
schema = rpki.relaxng.myrpki
-
- # Um, we're not using SAX here. We probably just want to return an
- # etree. SAX is really a misnomer here anyway, all the method
- # really means is "decode this puppy and return the decoded object,
- # whatever that might be".
- #
- #saxify = None
+ saxify = staticmethod(lambda x: x)
class SignedReferralField(DERField):
description = "CMS signed object containing XML"