X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=ctypescrypto%2Fx509.py;fp=ctypescrypto%2Fx509.py;h=af61942adc5f685d1db83c299b2ac033f51bd37d;hb=26cea2b5ab48f099b08a1cde56cf1bec0062a584;hp=358ce7d81d7d244ca1d44b2dfc34769e2c1e0f9d;hpb=4367362775bc1936c63cb0bff16a71affc31f8a2;p=oss%2Fctypescrypto.git diff --git a/ctypescrypto/x509.py b/ctypescrypto/x509.py index 358ce7d..af61942 100644 --- a/ctypescrypto/x509.py +++ b/ctypescrypto/x509.py @@ -83,7 +83,7 @@ class X509Error(LibCryptoError): pass -class X509Name: +class X509Name(object): """ Class which represents X.509 distinguished name - typically a certificate subject name or an issuer name. @@ -376,7 +376,7 @@ class X509(object): def check_ca(self): """ Returns True if certificate is CA certificate """ return libcrypto.X509_check_ca(self.cert)>0 -class X509Store: +class X509Store(object): """ Represents trusted certificate store. Can be used to lookup CA certificates to verify @@ -467,7 +467,7 @@ class X509Store: else: raise TypeError("datetime.date, datetime.datetime or integer is required as time argument") raise NotImplementedError -class StackOfX509: +class StackOfX509(object): """ Implements OpenSSL STACK_OF(X509) object. It looks much like python container types