From 89e1e34d977e565171329c26de6ce9c8f12340e7 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 12 Dec 2018 10:35:27 +0800 Subject: deprecate old from_encoded_point (#4640) --- docs/hazmat/primitives/asymmetric/ec.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/hazmat/primitives') diff --git a/docs/hazmat/primitives/asymmetric/ec.rst b/docs/hazmat/primitives/asymmetric/ec.rst index 728c5159..168cdfd8 100644 --- a/docs/hazmat/primitives/asymmetric/ec.rst +++ b/docs/hazmat/primitives/asymmetric/ec.rst @@ -206,6 +206,11 @@ Elliptic Curve Signature Algorithms .. versionadded:: 1.1 + .. note:: + + This has been deprecated in favor of + :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.from_encoded_point` + Decodes a byte string as described in `SEC 1 v2.0`_ section 2.3.3 and returns an :class:`EllipticCurvePublicNumbers`. This method only supports uncompressed points. -- cgit v1.2.3