Package org.jose4j.keys
Class EllipticCurves
java.lang.Object
org.jose4j.keys.EllipticCurves
Values for these (the NIST P-*) curve parameters taken from FIPS PUB 186-3
and http://www.nsa.gov/ia/_files/nist-routines.pdf
The secp256k1 curve parameters came from inspecting the params on a key pair
generated with ECGenParameterSpec("secp256k1")
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final ECParameterSpec
static final ECParameterSpec
static final ECParameterSpec
static final String
static final ECParameterSpec
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCurve
(String name, ECParameterSpec spec) static String
getName
(EllipticCurve curve) static ECParameterSpec
-
Field Details
-
P_256
- See Also:
-
P_384
- See Also:
-
P_521
- See Also:
-
SECP_256K1
- See Also:
-
P256
-
P384
-
P521
-
SECP256K1
-
-
Constructor Details
-
EllipticCurves
public EllipticCurves()
-
-
Method Details
-
addCurve
-
getSpec
-
getName
-