Package com.nimbusds.jose.jwk
Class ECParameterTable
java.lang.Object
com.nimbusds.jose.jwk.ECParameterTable
Elliptic curve parameter table.
Supports the following standard EC JWK curves:
- Version:
- 2022-04-22
- Author:
- Vladimir Dzhuvinov, Aleksei Doroganov
-
Method Summary
Modifier and TypeMethodDescriptionstatic ECParameterSpec
Gets the parameter specification for the specified elliptic curve.static Curve
get
(ECParameterSpec spec) Gets the JWK elliptic curve for the specified parameter specification.
-
Method Details
-
get
Gets the parameter specification for the specified elliptic curve.- Parameters:
curve
- The JWK elliptic curve. May benull
.- Returns:
- The EC parameter spec,
null
if it cannot be determined.
-
get
Gets the JWK elliptic curve for the specified parameter specification.- Parameters:
spec
- The EC parameter spec. May benull
.- Returns:
- The JWK elliptic curve,
null
if it cannot be determined.
-