12345678module juptune.data.x509.asn1convert;
Result x509HandleNamedCurveIdentifierRfc5480(
Asn1ObjectIdentifierImpl!(
false
) identifier,
EcdsaGroupName name
);
Converts the given ASN.1 object identifier into its corresponding EcdsaGroupName.
The value of nameis undefined if an error is returned.
This uses the OBJECT IDENTIFIERs from RFC 5480... which for some reason have different values than the one from SEC 2
X509Error.invalidNamedCurveif identifieris not recognised as a valid/support ECDSA named curve.
An errorful Resultif something went wrong.