Skip to content

Commit 7e1660b

Browse files
alexreaperhulk
andauthored
Remove APIs that have been deprecated for a year (#1374)
* Remove APIs that have been deprecated for a year * Update CHANGELOG.rst Co-authored-by: Paul Kehrer <[email protected]> --------- Co-authored-by: Paul Kehrer <[email protected]>
1 parent a6678a9 commit 7e1660b

File tree

4 files changed

+11
-1250
lines changed

4 files changed

+11
-1250
lines changed

CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ The third digit is only for regressions.
1010
Backward-incompatible changes:
1111
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1212

13+
- Removed the deprecated ``OpenSSL.crypto.CRL``, ``OpenSSL.crypto.Revoked``, ``OpenSSL.crypto.dump_crl``, and ``OpenSSL.crypto.load_crl``. ``cryptography.x509``'s CRL functionality should be used instead.
14+
- Removed the deprecated ``OpenSSL.crypto.sign`` and ``OpenSSL.crypto.verify``. ``cryptography.hazmat.primitives.asymmetric``'s signature APIs should be used instead.
15+
1316
Deprecations:
1417
^^^^^^^^^^^^^
1518

doc/api/crypto.rst

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,6 @@ Public keys
6363

6464
.. autofunction:: load_publickey
6565

66-
Certificate revocation lists
67-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68-
69-
.. autofunction:: dump_crl
70-
71-
.. autofunction:: load_crl
72-
73-
Signing and verifying signatures
74-
--------------------------------
75-
76-
.. autofunction:: sign
77-
78-
.. autofunction:: verify
79-
8066

8167
.. _openssl-x509:
8268

@@ -172,24 +158,6 @@ X509Extension objects
172158
:special-members:
173159
:exclude-members: __weakref__
174160

175-
.. _crl:
176-
177-
CRL objects
178-
-----------
179-
180-
.. autoclass:: CRL
181-
:members:
182-
:special-members:
183-
:exclude-members: __weakref__
184-
185-
.. _revoked:
186-
187-
Revoked objects
188-
---------------
189-
190-
.. autoclass:: Revoked
191-
:members:
192-
193161
Exceptions
194162
----------
195163

0 commit comments

Comments
 (0)