diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2017-06-29 15:31:39 -0700 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-06-29 17:31:39 -0500 |
commit | 10d30832462b4c44a4479dda462d4f35194a04a9 (patch) | |
tree | e8f5630ded7ffd30440fdb71b60be43157aefe6c /doc | |
parent | 9939ba1658868b68654501aac24c97db8d9335ae (diff) | |
download | pyopenssl-10d30832462b4c44a4479dda462d4f35194a04a9.tar.gz |
Fixed #486 -- deprecate the backwards compat names (#643)
* Fixed #486 -- deprecate the backwards compat names
* remove the docs for these, pretend they don't exist
* CHANGELOG
Diffstat (limited to 'doc')
-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. |