]> www.wagner.pp.ru Git - oss/ctypescrypto.git/blobdiff - ctypescrypto/cms.py
Update README. Inherit everything from __builtin__.object
[oss/ctypescrypto.git] / ctypescrypto / cms.py
index 2c038985aba8ae9488f37083115dc5dd69bb4e6b..3158b628f087d7ff21f25d7f0fbee57a1d6c4e36 100644 (file)
@@ -68,7 +68,7 @@ def CMS(data,format="PEM"):
        else:
                raise NotImplementedError("cannot handle "+typeoid.shortname())
 
-class CMSBase: 
+class CMSBase(object)
        """
        Common ancessor for all CMS types.
        Implements serializatio/deserialization
@@ -279,7 +279,7 @@ class EncryptedData(CMSBase):
                                raise CMSError("decrypt data")
                return str(b)
 
-               
+__all__=['CMS','CMSError','Flags','SignedData','EnvelopedData','EncryptedData']
 
 libcrypto.CMS_verify.restype=c_int
 libcrypto.CMS_verify.argtypes=(c_void_p,c_void_p,c_void_p,c_void_p,c_void_p,c_int)