Uses of Class
org.forgerock.json.jose.jws.SupportedEllipticCurve
-
Packages that use SupportedEllipticCurve 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'.org.forgerock.json.jose.utils Utility classes for JWT creation and manipulation. -
-
Uses of SupportedEllipticCurve in org.forgerock.json.jose.jwk
Methods in org.forgerock.json.jose.jwk that return SupportedEllipticCurve Modifier and Type Method Description SupportedEllipticCurve
EcJWK. getEllipticCurve()
Gets the elliptic curve.SupportedEllipticCurve
EllipticCurveJwk. getEllipticCurve()
The elliptic curve this JWK is on.SupportedEllipticCurve
OkpJWK. getEllipticCurve()
The supported elliptic curve that this key is on.Methods in org.forgerock.json.jose.jwk with parameters of type SupportedEllipticCurve Modifier and Type Method Description static EcJWK.Builder
EcJWK. builder(SupportedEllipticCurve curve, String x, String y)
Get the builder.OkpJWK.Builder
OkpJWK.Builder. curve(SupportedEllipticCurve curve)
Sets the elliptic curve that this key uses.static OkpJWK
OkpJWK. generateKeyPair(SupportedEllipticCurve curve)
Generates a fresh OKP JWK with both public and private claims on the given curve.static boolean
EcJWK. isPublicKeyValid(ECPublicKey publicKey, SupportedEllipticCurve curve)
Checks whether the public key actually lies on the curve it claims to be on. -
Uses of SupportedEllipticCurve in org.forgerock.json.jose.jws
Methods in org.forgerock.json.jose.jws that return SupportedEllipticCurve Modifier and Type Method Description static SupportedEllipticCurve
SupportedEllipticCurve. forKey(Key key)
Determines the standard curve that matches the given (private or public) key.static SupportedEllipticCurve
SupportedEllipticCurve. forKey(Key key, String use)
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 ECDSA signature.static SupportedEllipticCurve
SupportedEllipticCurve. forSignature(byte[] signature, JwsAlgorithmType type)
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. -
Uses of SupportedEllipticCurve in org.forgerock.json.jose.utils
Methods in org.forgerock.json.jose.utils that return SupportedEllipticCurve Modifier and Type Method Description static SupportedEllipticCurve
XECUtils. curve(Key key)
Returns the curve that this XECKey is for.Methods in org.forgerock.json.jose.utils with parameters of type SupportedEllipticCurve Modifier and Type Method Description static PrivateKey
XECUtils. xecPrivateKey(SupportedEllipticCurve curve, byte[] privateValue)
Converts a private scalar byte value into a XECPrivateKey on the given curve.static PublicKey
XECUtils. xecPublicKey(SupportedEllipticCurve curve, BigInteger uCoord)
Converts a public u-coordinate into a XECPublicKey on the given curve.
-