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 |
---|---|
static KeyType |
KeyType.forAlgorithm(Algorithm alg)
Infers the key type for the specified JOSE algorithm.
|
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> |
JWKMatcher.getKeyTypes()
Returns the key types to match.
|
Modifier and Type | Method and Description |
---|---|
JWKMatcher.Builder |
JWKMatcher.Builder.keyType(KeyType kty)
Sets a single key type to match.
|
JWKMatcher.Builder |
JWKMatcher.Builder.keyTypes(KeyType... types)
Sets multiple key types to match.
|
Modifier and Type | Method and Description |
---|---|
JWKMatcher.Builder |
JWKMatcher.Builder.keyTypes(Set<KeyType> types)
Sets multiple key types to match.
|
Constructor and Description |
---|
JWK(KeyType kty,
KeyUse use,
Set<KeyOperation> ops,
Algorithm alg,
String kid,
URI x5u,
Base64URL x5t,
Base64URL x5t256,
List<Base64> x5c,
KeyStore ks)
Creates a new JSON Web Key (JWK).
|
Constructor and Description |
---|
JWKMatcher(Set<KeyType> types,
Set<KeyUse> uses,
Set<KeyOperation> ops,
Set<Algorithm> algs,
Set<String> ids,
boolean privateOnly,
boolean publicOnly)
Deprecated.
|
JWKMatcher(Set<KeyType> types,
Set<KeyUse> uses,
Set<KeyOperation> ops,
Set<Algorithm> algs,
Set<String> ids,
boolean hasUse,
boolean hasID,
boolean privateOnly,
boolean publicOnly,
int minSizeBits,
int maxSizeBits,
Set<Integer> sizesBits,
Set<ECKey.Curve> curves)
Creates a new JSON Web Key (JWK) matcher.
|
JWKMatcher(Set<KeyType> types,
Set<KeyUse> uses,
Set<KeyOperation> ops,
Set<Algorithm> algs,
Set<String> ids,
boolean privateOnly,
boolean publicOnly,
int minSizeBits,
int maxSizeBits)
Deprecated.
|
JWKMatcher(Set<KeyType> types,
Set<KeyUse> uses,
Set<KeyOperation> ops,
Set<Algorithm> algs,
Set<String> ids,
boolean privateOnly,
boolean publicOnly,
int minSizeBits,
int maxSizeBits,
Set<ECKey.Curve> curves)
Deprecated.
|
JWKMatcher(Set<KeyType> types,
Set<KeyUse> uses,
Set<KeyOperation> ops,
Set<Algorithm> algs,
Set<String> ids,
boolean privateOnly,
boolean publicOnly,
int minSizeBits,
int maxSizeBits,
Set<Integer> sizesBits,
Set<ECKey.Curve> curves)
Deprecated.
|
Copyright © 2017 Connect2id Ltd.. All rights reserved.