Uses of Enum Class
org.forgerock.json.jose.jws.SupportedEllipticCurve
Packages that use SupportedEllipticCurve
Package
Description
Classes and interfaces for creating and manipulating JWKs.
Classes and interfaces for JWT signing and JWS'.
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 SupportedEllipticCurveModifier and TypeMethodDescriptionEcJWK.getEllipticCurve()Gets the elliptic curve.EllipticCurveJwk.getEllipticCurve()The elliptic curve this JWK is on.OkpJWK.getEllipticCurve()The supported elliptic curve that this key is on.Methods in org.forgerock.json.jose.jwk with parameters of type SupportedEllipticCurveModifier and TypeMethodDescriptionstatic EcJWK.BuilderEcJWK.builder(SupportedEllipticCurve curve, String x, String y) Get the builder.OkpJWK.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 SupportedEllipticCurveModifier and TypeMethodDescriptionstatic SupportedEllipticCurveDetermines the standard curve that matches the given (private or public) key.static SupportedEllipticCurveDetermines the standard curve that matches the given (private or public) key.static SupportedEllipticCurveReturns 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 SupportedEllipticCurveReturns the enum constant of this class with the specified name.static SupportedEllipticCurve[]SupportedEllipticCurve.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of SupportedEllipticCurve in org.forgerock.json.jose.utils
Methods in org.forgerock.json.jose.utils that return SupportedEllipticCurveModifier and TypeMethodDescriptionstatic SupportedEllipticCurveReturns the curve that this XECKey is for.Methods in org.forgerock.json.jose.utils with parameters of type SupportedEllipticCurveModifier and TypeMethodDescriptionstatic 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.