Uses of Class
com.nimbusds.jose.jwk.Curve
Packages that use Curve
Package
Description
Implementations of standard Javascript Object Signing and Encryption (JOSE)
algorithms.
Cryptographic primitives for JWS signers, JWS verifiers, JWE encrypters and
JWE decrypters in the
com.nimbusds.jose.crypto package.JSON Web Key (JWK) classes.
JSON Web Key (JWK) generation utilities.
-
Uses of Curve in com.nimbusds.jose.crypto
Fields in com.nimbusds.jose.crypto with type parameters of type CurveModifier and TypeFieldDescriptionECDH1PUDecrypter.SUPPORTED_ELLIPTIC_CURVESThe supported EC JWK curves by the ECDH crypto provider class.ECDH1PUEncrypter.SUPPORTED_ELLIPTIC_CURVESThe supported EC JWK curves by the ECDH crypto provider class.ECDHDecrypter.SUPPORTED_ELLIPTIC_CURVESThe supported EC JWK curves by the ECDH crypto provider class.ECDHEncrypter.SUPPORTED_ELLIPTIC_CURVESThe supported EC JWK curves by the ECDH crypto provider class.Methods in com.nimbusds.jose.crypto that return types with arguments of type CurveModifier and TypeMethodDescriptionECDH1PUDecrypter.supportedEllipticCurves()ECDH1PUEncrypter.supportedEllipticCurves()ECDH1PUX25519Decrypter.supportedEllipticCurves()ECDH1PUX25519Encrypter.supportedEllipticCurves()ECDHDecrypter.supportedEllipticCurves()ECDHEncrypter.supportedEllipticCurves()X25519Decrypter.supportedEllipticCurves()X25519Encrypter.supportedEllipticCurves()Constructors in com.nimbusds.jose.crypto with parameters of type CurveModifierConstructorDescriptionECDH1PUDecrypter(ECPrivateKey privateKey, ECPublicKey publicKey, Set<String> defCritHeaders, Curve curve) Creates a new Elliptic Curve Diffie-Hellman decrypter.ECDHDecrypter(PrivateKey privateKey, Set<String> defCritHeaders, Curve curve) Creates a new Elliptic Curve Diffie-Hellman decrypter.ECDSASigner(PrivateKey privateKey, Curve curve) Creates a new Elliptic Curve Digital Signature Algorithm (ECDSA) signer.ECDSASigner(PrivateKey privateKey, Curve curve, Set<JWSSignerOption> opts) Creates a new Elliptic Curve Digital Signature Algorithm (ECDSA) signer. -
Uses of Curve in com.nimbusds.jose.crypto.impl
Fields in com.nimbusds.jose.crypto.impl with type parameters of type CurveModifier and TypeFieldDescriptionECDSAProvider.SUPPORTED_CURVESThe supported curves by the EC-DSA provider class.EdDSAProvider.SUPPORTED_CURVESThe supported curves by the EdDSA provider class.MultiCryptoProvider.SUPPORTED_ELLIPTIC_CURVESThe supported EC JWK curves by the ECDH crypto provider class.Methods in com.nimbusds.jose.crypto.impl that return CurveModifier and TypeMethodDescriptionECDH1PUCryptoProvider.getCurve()Returns the elliptic curve of the key (JWK designation).ECDHCryptoProvider.getCurve()Returns the elliptic curve of the key (JWK designation).Methods in com.nimbusds.jose.crypto.impl that return types with arguments of type CurveModifier and TypeMethodDescriptionECDH1PUCryptoProvider.supportedEllipticCurves()Returns the names of the supported elliptic curves.ECDHCryptoProvider.supportedEllipticCurves()Returns the names of the supported elliptic curves.MultiCryptoProvider.supportedEllipticCurves()Returns the names of the supported elliptic curves.Methods in com.nimbusds.jose.crypto.impl with parameters of type CurveModifier and TypeMethodDescriptionstatic JWSAlgorithmECDSA.resolveAlgorithm(Curve curve) Resolves the matching EC DSA algorithm for the specified elliptic curve.static StringAlgorithmSupportMessage.unsupportedEllipticCurve(Curve unsupported, Collection<Curve> supported) Returns a message that the specified elliptic curve is not supported.Method parameters in com.nimbusds.jose.crypto.impl with type arguments of type CurveModifier and TypeMethodDescriptionstatic StringAlgorithmSupportMessage.unsupportedEllipticCurve(Curve unsupported, Collection<Curve> supported) Returns a message that the specified elliptic curve is not supported.Constructors in com.nimbusds.jose.crypto.impl with parameters of type CurveModifierConstructorDescriptionprotectedECDH1PUCryptoProvider(Curve curve, SecretKey cek) Creates a new Elliptic Curve Diffie-Hellman One-Pass Unified Model encryption / decryption provider.protectedECDHCryptoProvider(Curve curve, SecretKey cek) Creates a new Elliptic Curve Diffie-Hellman encryption /decryption provider. -
Uses of Curve in com.nimbusds.jose.jwk
Fields in com.nimbusds.jose.jwk declared as CurveModifier and TypeFieldDescriptionstatic final CurveCurve.Ed25519Ed25519 signature algorithm key pairs.static final CurveCurve.Ed448Ed448 signature algorithm key pairs.static final CurveCurve.P_256P-256 curve (secp256r1, also called prime256v1, OID = 1.2.840.10045.3.1.7).static final CurveCurve.P_256KDeprecated.static final CurveCurve.P_384P-384 curve (secp384r1, OID = 1.3.132.0.34).static final CurveCurve.P_521P-521 curve (secp521r1).static final CurveCurve.SECP256K1secp256k1 curve (secp256k1, OID = 1.3.132.0.10).static final CurveCurve.X25519X25519 function key pairs.static final CurveCurve.X448X448 function key pairs.Fields in com.nimbusds.jose.jwk with type parameters of type CurveModifier and TypeFieldDescriptionECKey.SUPPORTED_CURVESSupported EC curves.OctetKeyPair.SUPPORTED_CURVESSupported Edwards curves.Methods in com.nimbusds.jose.jwk that return CurveModifier and TypeMethodDescriptionstatic CurveCurve.forECParameterSpec(ECParameterSpec spec) Gets the cryptographic curve for the specified parameter specification.static CurveGets the cryptographic curve for the specified object identifier (OID).static CurveCurve.forStdName(String stdName) Gets the cryptographic curve for the specified standard name.static CurveECParameterTable.get(ECParameterSpec spec) Gets the JWK elliptic curve for the specified parameter specification.CurveBasedJWK.getCurve()Returns the cryptographic curve.ECKey.getCurve()OctetKeyPair.getCurve()static CurveParses a cryptographic curve from the specified string.Methods in com.nimbusds.jose.jwk that return types with arguments of type CurveModifier and TypeMethodDescriptionCurve.forJWSAlgorithm(JWSAlgorithm alg) Gets the cryptographic curve(s) for the specified JWS algorithm.JWKMatcher.getCurves()Returns the curves to match (for EC and OKP keys).Methods in com.nimbusds.jose.jwk with parameters of type CurveModifier and TypeMethodDescriptionSets a single curve to match (for EC and OKP keys).Sets multiple curves to match (for EC and OKP keys).static ECParameterSpecGets the parameter specification for the specified elliptic curve.Method parameters in com.nimbusds.jose.jwk with type arguments of type CurveModifier and TypeMethodDescriptionSets multiple curves to match (for EC and OKP keys).Constructors in com.nimbusds.jose.jwk with parameters of type CurveModifierConstructorDescriptionCreates a new Elliptic Curve JWK builder.Builder(Curve crv, ECPublicKey pub) Creates a new Elliptic Curve JWK builder.Creates a new Octet Key Pair JWK builder.ECKey(Curve crv, Base64URL x, Base64URL y, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.ECKey(Curve crv, Base64URL x, Base64URL y, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyRevocation revocation, KeyStore ks) Creates a new public Elliptic Curve JSON Web Key (JWK) with the specified parameters.ECKey(Curve crv, Base64URL x, Base64URL y, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Deprecated.ECKey(Curve crv, Base64URL x, Base64URL y, Base64URL d, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.ECKey(Curve crv, Base64URL x, Base64URL y, Base64URL d, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyRevocation revocation, KeyStore ks) Creates a new public / private Elliptic Curve JSON Web Key (JWK) with the specified parameters.ECKey(Curve crv, Base64URL x, Base64URL y, Base64URL d, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Deprecated.ECKey(Curve crv, Base64URL x, Base64URL y, PrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.ECKey(Curve crv, Base64URL x, Base64URL y, PrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyRevocation revocation, KeyStore ks) Creates a new public / private Elliptic Curve JSON Web Key (JWK) with the specified parameters.ECKey(Curve crv, Base64URL x, Base64URL y, PrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Deprecated.ECKey(Curve crv, ECPublicKey pub, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.ECKey(Curve crv, ECPublicKey pub, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyRevocation revocation, KeyStore ks) Creates a new public Elliptic Curve JSON Web Key (JWK) with the specified parameters.ECKey(Curve crv, ECPublicKey pub, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Deprecated.ECKey(Curve crv, ECPublicKey pub, ECPrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.ECKey(Curve crv, ECPublicKey pub, ECPrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyRevocation revocation, KeyStore ks) Creates a new public / private Elliptic Curve JSON Web Key (JWK) with the specified parameters.ECKey(Curve crv, ECPublicKey pub, ECPrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Deprecated.ECKey(Curve crv, ECPublicKey pub, PrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.ECKey(Curve crv, ECPublicKey pub, PrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyRevocation revocation, KeyStore ks) Creates a new public / private Elliptic Curve JSON Web Key (JWK) with the specified parameters.ECKey(Curve crv, ECPublicKey pub, PrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Deprecated.OctetKeyPair(Curve crv, Base64URL x, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.OctetKeyPair(Curve crv, Base64URL x, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyRevocation revocation, KeyStore ks) Creates a new public Octet Key Pair JSON Web Key (JWK) with the specified parameters.OctetKeyPair(Curve crv, Base64URL x, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Deprecated.OctetKeyPair(Curve crv, Base64URL x, Base64URL d, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.OctetKeyPair(Curve crv, Base64URL x, Base64URL d, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyRevocation revocation, KeyStore ks) Creates a new public / private Octet Key Pair JSON Web Key (JWK) with the specified parameters.OctetKeyPair(Curve crv, Base64URL x, Base64URL d, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Deprecated. -
Uses of Curve in com.nimbusds.jose.jwk.gen
Fields in com.nimbusds.jose.jwk.gen with type parameters of type CurveModifier and TypeFieldDescriptionOctetKeyPairGenerator.SUPPORTED_CURVESThe supported values for the "crv" property.Constructors in com.nimbusds.jose.jwk.gen with parameters of type CurveModifierConstructorDescriptionECKeyGenerator(Curve crv) Creates a new EC JWK generator.Creates a new OctetKeyPair JWK generator.
SECP256K1.