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(String s)
Parses a key type from the specified
kty parameter value. |
Modifier and Type | Method and Description |
---|---|
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(Set<KeyType> types)
Sets the selected key types.
|
Constructor and Description |
---|
JWK(KeyType kty,
KeyUse use,
Set<KeyOperation> ops,
Algorithm alg,
String kid,
URL x5u,
Base64URL x5t,
List<Base64> x5c)
Creates a new JSON Web Key (JWK).
|
Copyright © 2014 Connect2id Ltd.. All Rights Reserved.