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 SupportedEllipticCurveEcJWK. getEllipticCurve()Gets the elliptic curve.SupportedEllipticCurveEllipticCurveJwk. getEllipticCurve()The elliptic curve this JWK is on.SupportedEllipticCurveOkpJWK. 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.BuilderEcJWK. builder(SupportedEllipticCurve curve, String x, String y)Get the builder.OkpJWK.BuilderOkpJWK.Builder. curve(SupportedEllipticCurve curve)Sets the elliptic curve that this key uses.static OkpJWKOkpJWK. generateKeyPair(SupportedEllipticCurve curve)Generates a fresh OKP JWK with both public and private claims on the given curve.static booleanEcJWK. 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 SupportedEllipticCurveSupportedEllipticCurve. forKey(Key key)Determines the standard curve that matches the given (private or public) key.static SupportedEllipticCurveSupportedEllipticCurve. forKey(Key key, String use)Determines the standard curve that matches the given (private or public) key.static SupportedEllipticCurveSupportedEllipticCurve. forName(String curveName)Returns the curve parameters for the given standard curve name (crv claim in a JWK).static SupportedEllipticCurveSupportedEllipticCurve. forSignature(byte[] signature)Determines the supported curve parameters for the given ECDSA signature.static SupportedEllipticCurveSupportedEllipticCurve. forSignature(byte[] signature, JwsAlgorithmType type)Determines the supported curve parameters for the given signature.static SupportedEllipticCurveSupportedEllipticCurve. 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 SupportedEllipticCurveXECUtils. 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 PrivateKeyXECUtils. xecPrivateKey(SupportedEllipticCurve curve, byte[] privateValue)Converts a private scalar byte value into a XECPrivateKey on the given curve.static PublicKeyXECUtils. xecPublicKey(SupportedEllipticCurve curve, BigInteger uCoord)Converts a public u-coordinate into a XECPublicKey on the given curve.
-