Package | Description |
---|---|
org.forgerock.json.jose.jwk |
Classes and interfaces for creating and manipulating JWKs.
|
org.forgerock.json.jose.jws |
Classes and interfaces for JWT signing and JWS'.
|
Modifier and Type | Method and Description |
---|---|
SupportedEllipticCurve |
EcJWK.getEllipticCurve()
Gets the elliptic curve.
|
Modifier and Type | Method and Description |
---|---|
static EcJWK.Builder |
EcJWK.builder(SupportedEllipticCurve curve,
String x,
String y)
Get the builder.
|
static boolean |
EcJWK.isPublicKeyValid(ECPublicKey publicKey,
SupportedEllipticCurve curve)
Checks whether the public key actually lies on the curve it claims to be on.
|
Modifier and Type | Method and Description |
---|---|
static SupportedEllipticCurve |
SupportedEllipticCurve.forKey(ECKey key)
Determines the standard curve that matches the given (private or public) key.
|
static SupportedEllipticCurve |
SupportedEllipticCurve.forName(String curveName)
Returns the curve parameters for the given standard curve name (crv claim in a JWK).
|
static SupportedEllipticCurve |
SupportedEllipticCurve.forSignature(byte[] signature)
Determines the supported curve parameters for the given signature.
|
static SupportedEllipticCurve |
SupportedEllipticCurve.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedEllipticCurve[] |
SupportedEllipticCurve.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright 2010-2018 ForgeRock AS.