diff options
Diffstat (limited to 'scripts/rpki/x509.py')
-rw-r--r-- | scripts/rpki/x509.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/rpki/x509.py b/scripts/rpki/x509.py index 9b9b1c28..5f9788c9 100644 --- a/scripts/rpki/x509.py +++ b/scripts/rpki/x509.py @@ -43,10 +43,18 @@ class PEM_converter(object): class DER_object(object): """Virtual class to hold a generic DER object.""" + ## Formats supported in this object formats = ("DER",) + + ## PEM converter for this object pem_converter = None + + ## Other attributes that self.clear() should whack other_clear = () + ## @var DER + ## DER value of this object + def empty(self): """Test whether this object is empty.""" for a in self.formats: |