Package | Description |
---|---|
org.forgerock.json.jose.jwk |
Classes and interfaces for creating and manipulating JWKs.
|
org.forgerock.json.jose.jwk.store |
This package contains classes to manage a JWKs URI.
|
org.forgerock.json.jose.jws |
Classes and interfaces for JWT signing and JWS'.
|
Modifier and Type | Field and Description |
---|---|
protected KeyUse |
JWK.Builder.use
The key use, optional.
|
Modifier and Type | Method and Description |
---|---|
static KeyUse |
KeyUse.getKeyUse(String value)
Get the KeyUse.
|
KeyUse |
JWK.getUse()
Gets the use parameter of the JWK.
|
static KeyUse |
KeyUse.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyUse[] |
KeyUse.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
JWK |
JWKSet.findJwk(Algorithm algorithm,
KeyUse keyUse)
Search for a JWK that matches the algorithm and the key usage.
|
B |
JWK.Builder.keyUse(KeyUse use)
Set the key use parameter of the JWK.
|
Constructor and Description |
---|
EcJWK(ECPublicKey publicKey,
ECPrivateKey privateKey,
KeyUse use,
String kid)
Deprecated.
Use the builder instead.
|
EcJWK(ECPublicKey publicKey,
KeyUse use,
String kid)
Deprecated.
Use the builder instead.
|
EcJWK(KeyUse use,
String alg,
String kid,
String x,
String y,
String curve,
String x5u,
String x5t,
List<String> x5c)
Deprecated.
Use the builder instead.
|
EcJWK(KeyUse use,
String alg,
String kid,
String x,
String y,
String d,
String curve,
String x5u,
String x5t,
List<String> x5c)
Deprecated.
Use the builder instead.
|
JWK(KeyType keyType,
KeyUse use,
Set<KeyOperation> keyOperations,
Algorithm algorithm,
String keyId,
String x509url,
String x509Thumbnail,
List<String> x509Chain)
Creates a JWK given the basic parameters.
|
JWK(KeyType keyType,
KeyUse use,
String algorithm,
String keyId)
Deprecated.
Use the builder instead.
|
JWK(KeyType keyType,
KeyUse use,
String algorithm,
String keyId,
String x509url,
String x509Thumbnail,
List<String> x509Chain)
Deprecated.
Use the builder instead.
|
OctJWK(KeyUse use,
String alg,
String kid,
String key,
String x5u,
String x5t,
List<String> x5c)
Deprecated.
Use the builder instead.
|
RsaJWK(KeyUse use,
String alg,
String kid,
String modulus,
String publicExponent,
String x5u,
String x5t,
List<String> x5c)
Deprecated.
Use the builder instead.
|
RsaJWK(KeyUse use,
String alg,
String kid,
String modulus,
String publicExponent,
String privateExponent,
String x5u,
String x5t,
List<String> x5c)
Deprecated.
Use the builder instead.
|
RsaJWK(KeyUse use,
String alg,
String kid,
String modulus,
String publicExponent,
String privateExponent,
String primeP,
String primeQ,
String primePExponent,
String primeQExponent,
String crtCoefficient,
List<RsaJWK.PrimesInfo> otherPrimesInfo,
String x5u,
String x5t,
List<String> x5c)
Deprecated.
Use the builder instead.
|
RsaJWK(KeyUse use,
String alg,
String kid,
String modulus,
String publicExponent,
String primeP,
String primeQ,
String primePExponent,
String primeQExponent,
String crtCoefficient,
String x5u,
String x5t,
List<String> x5c)
Deprecated.
Use the builder instead.
|
RsaJWK(RSAPublicKey key,
KeyUse use,
String alg,
String kid,
String x5u,
String x5t,
List<String> x5c)
Deprecated.
Use the builder instead.
|
RsaJWK(RSAPublicKey pubKey,
RSAPrivateCrtKey privCert,
KeyUse use,
String alg,
String kid,
String x5u,
String x5t,
List<String> x5c)
Deprecated.
Use the builder instead.
|
RsaJWK(RSAPublicKey pubKey,
RSAPrivateKey privKey,
KeyUse use,
String alg,
String kid,
String x5u,
String x5t,
List<String> x5c)
Deprecated.
Use the builder instead.
|
Modifier and Type | Method and Description |
---|---|
JWK |
JwksStore.findJwk(Algorithm algorithm,
KeyUse keyUse)
Search for a JWK that matches the algorithm and the key usage.
|
Modifier and Type | Method and Description |
---|---|
static SupportedEllipticCurve |
SupportedEllipticCurve.forKey(Key key,
KeyUse use)
Determines the standard curve that matches the given (private or public) key.
|
Copyright 2010-2022 ForgeRock AS.