From e1f7e0978231f73382f95b864200fdeca7d37bb7 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 21 Feb 2019 12:53:45 +0800 Subject: add an EC OID to curve dictionary mapping (#4759) * add an EC OID to curve dictionary mapping * oid_to_curve function * changelog and docs fix * rename to get_curve_for_oid --- CHANGELOG.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGELOG.rst') diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5a6d4b54..e4c747c8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -20,6 +20,8 @@ Changelog * **BACKWARDS INCOMPATIBLE**: Removed ``cryptography.x509.Certificate.serial``, which had been deprecated for nearly 3 years. Use :attr:`~cryptography.x509.Certificate.serial_number` instead. +* Add support for easily mapping an object identifier to its elliptic curve + class via :func:`~cryptography.hazmat.primitives.asymmetric.ec.get_curve_for_oid`. .. _v2-5: -- cgit v1.2.3