Uses of Class
com.nimbusds.jose.jwk.Curve
-
Packages that use Curve Package Description com.nimbusds.jose.crypto Implementations of standard Javascript Object Signing and Encryption (JOSE) algorithms.com.nimbusds.jose.crypto.impl Cryptographic primitives for JWS signers, JWS verifiers, JWE encrypters and JWE decrypters in thecom.nimbusds.jose.cryptopackage.com.nimbusds.jose.jwk JSON Web Key (JWK) classes.com.nimbusds.jose.jwk.gen 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 Curve Modifier and Type Field Description static Set<Curve>ECDH1PUDecrypter. SUPPORTED_ELLIPTIC_CURVESThe supported EC JWK curves by the ECDH crypto provider class.static Set<Curve>ECDH1PUEncrypter. SUPPORTED_ELLIPTIC_CURVESThe supported EC JWK curves by the ECDH crypto provider class.static Set<Curve>ECDHDecrypter. SUPPORTED_ELLIPTIC_CURVESThe supported EC JWK curves by the ECDH crypto provider class.static Set<Curve>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 Curve Modifier and Type Method Description Set<Curve>ECDH1PUDecrypter. supportedEllipticCurves()Set<Curve>ECDH1PUEncrypter. supportedEllipticCurves()Set<Curve>ECDH1PUX25519Decrypter. supportedEllipticCurves()Set<Curve>ECDH1PUX25519Encrypter. supportedEllipticCurves()Set<Curve>ECDHDecrypter. supportedEllipticCurves()Set<Curve>ECDHEncrypter. supportedEllipticCurves()Set<Curve>X25519Decrypter. supportedEllipticCurves()Set<Curve>X25519Encrypter. supportedEllipticCurves()Constructors in com.nimbusds.jose.crypto with parameters of type Curve Constructor Description ECDH1PUDecrypter(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 Curve Modifier and Type Field Description static Set<Curve>MultiCryptoProvider. SUPPORTED_ELLIPTIC_CURVESThe supported EC JWK curves by the ECDH crypto provider class.Methods in com.nimbusds.jose.crypto.impl that return Curve Modifier and Type Method Description CurveECDH1PUCryptoProvider. getCurve()Returns the elliptic curve of the key (JWK designation).CurveECDHCryptoProvider. getCurve()Returns the elliptic curve of the key (JWK designation).Methods in com.nimbusds.jose.crypto.impl that return types with arguments of type Curve Modifier and Type Method Description abstract Set<Curve>ECDH1PUCryptoProvider. supportedEllipticCurves()Returns the names of the supported elliptic curves.abstract Set<Curve>ECDHCryptoProvider. supportedEllipticCurves()Returns the names of the supported elliptic curves.Set<Curve>MultiCryptoProvider. supportedEllipticCurves()Returns the names of the supported elliptic curves.Methods in com.nimbusds.jose.crypto.impl with parameters of type Curve Modifier and Type Method Description static 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 Curve Modifier and Type Method Description static 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 Curve Constructor Description ECDH1PUCryptoProvider(Curve curve, SecretKey cek)Creates a new Elliptic Curve Diffie-Hellman One-Pass Unified Model encryption / decryption provider.ECDHCryptoProvider(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 Curve Modifier and Type Field Description static CurveCurve. Ed25519Ed25519 signature algorithm key pairs.static CurveCurve. Ed448Ed448 signature algorithm key pairs.static CurveCurve. P_256P-256 curve (secp256r1, also called prime256v1, OID = 1.2.840.10045.3.1.7).static CurveCurve. P_256KDeprecated.UseSECP256K1.static CurveCurve. P_384P-384 curve (secp384r1, OID = 1.3.132.0.34).static CurveCurve. P_521P-521 curve (secp521r1).static CurveCurve. SECP256K1secp256k1 curve (secp256k1, OID = 1.3.132.0.10).static CurveCurve. X25519X25519 function key pairs.static CurveCurve. X448X448 function key pairs.Fields in com.nimbusds.jose.jwk with type parameters of type Curve Modifier and Type Field Description static Set<Curve>ECKey. SUPPORTED_CURVESSupported EC curves.static Set<Curve>OctetKeyPair. SUPPORTED_CURVESSupported Edwards curves.Methods in com.nimbusds.jose.jwk that return Curve Modifier and Type Method Description static CurveCurve. forECParameterSpec(ECParameterSpec spec)Gets the cryptographic curve for the specified parameter specification.static CurveCurve. forOID(String oid)Gets 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.CurveCurveBasedJWK. getCurve()Returns the cryptographic curve.CurveECKey. getCurve()CurveOctetKeyPair. getCurve()static CurveCurve. parse(String s)Parses a cryptographic curve from the specified string.Methods in com.nimbusds.jose.jwk that return types with arguments of type Curve Modifier and Type Method Description static Set<Curve>Curve. forJWSAlgorithm(JWSAlgorithm alg)Gets the cryptographic curve(s) for the specified JWS algorithm.Set<Curve>JWKMatcher. getCurves()Returns the curves to match (for EC and OKP keys).Methods in com.nimbusds.jose.jwk with parameters of type Curve Modifier and Type Method Description JWKMatcher.BuilderJWKMatcher.Builder. curve(Curve curve)Sets a single curve to match (for EC and OKP keys).JWKMatcher.BuilderJWKMatcher.Builder. curves(Curve... curves)Sets multiple curves to match (for EC and OKP keys).static ECParameterSpecECParameterTable. get(Curve curve)Gets the parameter specification for the specified elliptic curve.Method parameters in com.nimbusds.jose.jwk with type arguments of type Curve Modifier and Type Method Description JWKMatcher.BuilderJWKMatcher.Builder. curves(Set<Curve> curves)Sets multiple curves to match (for EC and OKP keys).Constructors in com.nimbusds.jose.jwk with parameters of type Curve Constructor Description Builder(Curve crv, Base64URL x, Base64URL y)Creates a new Elliptic Curve JWK builder.Builder(Curve crv, ECPublicKey pub)Creates a new Elliptic Curve JWK builder.Builder(Curve crv, Base64URL x)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, KeyStore ks)Creates a new public 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, 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, 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, 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, KeyStore ks)Creates a new public / private 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, 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, KeyStore ks)Creates a new public 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, 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, 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, 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, KeyStore ks)Creates a new public / private Elliptic Curve 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, 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, KeyStore ks)Creates a new public 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, 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, KeyStore ks)Creates a new public / private Octet Key Pair JSON Web Key (JWK) with the specified parameters. -
Uses of Curve in com.nimbusds.jose.jwk.gen
Fields in com.nimbusds.jose.jwk.gen with type parameters of type Curve Modifier and Type Field Description static Set<Curve>OctetKeyPairGenerator. SUPPORTED_CURVESThe supported values for the "crv" property.Constructors in com.nimbusds.jose.jwk.gen with parameters of type Curve Constructor Description ECKeyGenerator(Curve crv)Creates a new EC JWK generator.OctetKeyPairGenerator(Curve crv)Creates a new OctetKeyPair JWK generator.
-