diff options
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/crypto.rst | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/doc/api/crypto.rst b/doc/api/crypto.rst index 525553f..e7190ab 100644 --- a/doc/api/crypto.rst +++ b/doc/api/crypto.rst @@ -321,33 +321,3 @@ More information and a list of these digest names can be found in the ``EVP_Dige This page can be found online for the latest version of OpenSSL: https://www.openssl.org/docs/manmaster/man3/EVP_DigestInit.html - -Backwards compatible type names -------------------------------- - -When pyOpenSSL was originally written, the most current version of Python was 2.1. -It made a distinction between classes and types. -None of the versions of Python currently supported by pyOpenSSL still enforce that distinction: -the type of an instance of an :class:`X509` object is now simply :class:`X509`. -Originally, the type would have been :class:`X509Type`. -These days, :class:`X509Type` and :class:`X509` are literally the same object. -pyOpenSSL maintains these old names for backwards compatibility. - -Here's a table of these backwards-compatible names: - -====================== ========================== -Type name Backwards-compatible name -====================== ========================== -:class:`X509` :class:`X509Type` -:class:`X509Name` :class:`X509NameType` -:class:`X509Req` :class:`X509ReqType` -:class:`X509Store` :class:`X509StoreType` -:class:`X509Extension` :class:`X509ExtensionType` -:class:`PKey` :class:`PKeyType` -:class:`PKCS7` :class:`PKCS7Type` -:class:`PKCS12` :class:`PKCS12Type` -:class:`NetscapeSPKI` :class:`NetscapeSPKIType` -:class:`CRL` :class:`CRLType` -====================== ========================== - -Some objects, such as :class:`Revoked`, don't have ``Type`` equivalents, because they were added after the restriction had been lifted. |