Package | Description |
---|---|
org.forgerock.json.jose.jwk |
Classes and interfaces for creating and manipulating JWKs.
|
Modifier and Type | Field and Description |
---|---|
protected KeyType |
JWK.Builder.keyType
The key type, required.
|
Modifier and Type | Method and Description |
---|---|
KeyType |
JWK.getKeyType()
Gets the kty parameter of the JWK.
|
static KeyType |
KeyType.getKeyType(String keyType)
Get the KeyType given a string.
|
static KeyType |
KeyType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyType[] |
KeyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Key |
JWKLookup.lookup(String json,
KeyType keyType)
Lookup returns the key from the given json, under the assumption it's of the correct
keyType.
|
Constructor and Description |
---|
Builder(KeyType keyType)
The builder constructor.
|
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.
|
Copyright 2011-2017 ForgeRock AS.