| Package | Description |
|---|---|
| com.nimbusds.jose.jwk |
JSON Web Key (JWK) classes.
|
| Modifier and Type | Field and Description |
|---|---|
static KeyType |
KeyType.EC
Elliptic Curve (DSS) key type (recommended).
|
static KeyType |
KeyType.OCT
Octet sequence key type (optional)
|
static KeyType |
KeyType.RSA
RSA (RFC 3447) key type (required).
|
| Modifier and Type | Method and Description |
|---|---|
KeyType |
JWK.getKeyType()
Gets the type (
kty) of this JWK. |
static KeyType |
KeyType.parse(java.lang.String s)
Parses a key type from the specified
kty parameter value. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<KeyType> |
JWKSelector.getKeyTypes()
Gets the selected key types.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JWKSelector.setKeyType(KeyType kty)
Sets a single selected key type.
|
void |
JWKSelector.setKeyTypes(KeyType... types)
Sets the selected key types.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JWKSelector.setKeyTypes(java.util.Set<KeyType> types)
Sets the selected key types.
|
| Constructor and Description |
|---|
JWK(KeyType kty,
KeyUse use,
java.util.Set<KeyOperation> ops,
Algorithm alg,
java.lang.String kid,
java.net.URL x5u,
Base64URL x5t,
java.util.List<Base64> x5c)
Creates a new JSON Web Key (JWK).
|
Copyright © 2014 Connect2id Ltd.. All Rights Reserved.