Per #26776, using a third party library for custom curve is advised.
However, when parsing x509 certificate (x509.ParseCetificate()), it is not possible to supply custom curve.
My proposal is to offer a configuration that can be used to supply a function to return elliptic.Curve from asn1.ObjectIdentifier to complement the default namedCurveFromIOD()
Per #26776, using a third party library for custom curve is advised.
However, when parsing x509 certificate (
x509.ParseCetificate()), it is not possible to supply custom curve.My proposal is to offer a configuration that can be used to supply a function to return
elliptic.Curvefromasn1.ObjectIdentifierto complement the defaultnamedCurveFromIOD()