From 2de450a2166e6a390f2d9e121b3d660b049b1807 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 20 Jan 2019 17:24:41 -0600 Subject: deprecate encode_point and migrate all internal callers (#4720) --- docs/hazmat/primitives/asymmetric/ec.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/hazmat/primitives/asymmetric') diff --git a/docs/hazmat/primitives/asymmetric/ec.rst b/docs/hazmat/primitives/asymmetric/ec.rst index a356dcaa..d89fde3d 100644 --- a/docs/hazmat/primitives/asymmetric/ec.rst +++ b/docs/hazmat/primitives/asymmetric/ec.rst @@ -194,6 +194,12 @@ Elliptic Curve Signature Algorithms .. method:: encode_point() + .. warning:: + + This method is deprecated as of version 2.5. Callers should migrate + to using + :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.public_bytes`. + .. versionadded:: 1.1 Encodes an elliptic curve point to a byte string as described in -- cgit v1.2.3