Package | Description |
---|---|
com.nimbusds.jose |
Javascript Object Signing and Encryption (JOSE) classes.
|
com.nimbusds.jose.jwk |
JSON Web Key (JWK) classes.
|
Modifier and Type | Method and Description |
---|---|
JWSHeader.Builder |
JWSHeader.Builder.jwk(JWK jwk)
Sets the JSON Web Key (JWK) (
jwk ) parameter. |
JWEHeader.Builder |
JWEHeader.Builder.jwk(JWK jwk)
Sets the JSON Web Key (JWK) (
jwk ) parameter. |
Constructor and Description |
---|
JWEHeader(Algorithm alg,
EncryptionMethod enc,
JOSEObjectType typ,
String cty,
Set<String> crit,
URI jku,
JWK jwk,
URI x5u,
Base64URL x5t,
Base64URL x5t256,
List<Base64> x5c,
String kid,
ECKey epk,
CompressionAlgorithm zip,
Base64URL apu,
Base64URL apv,
Base64URL p2s,
int p2c,
Base64URL iv,
Base64URL tag,
Map<String,Object> customParams,
Base64URL parsedBase64URL)
Creates a new JSON Web Encryption (JWE) header.
|
JWSHeader(JWSAlgorithm alg,
JOSEObjectType typ,
String cty,
Set<String> crit,
URI jku,
JWK jwk,
URI x5u,
Base64URL x5t,
Base64URL x5t256,
List<Base64> x5c,
String kid,
Map<String,Object> customParams,
Base64URL parsedBase64URL)
Creates a new JSON Web Signature (JWS) header.
|
Modifier and Type | Class and Description |
---|---|
class |
ECKey
Public and private
Elliptic Curve JSON Web Key (JWK). |
class |
OctetSequenceKey
Octet sequence JSON Web Key (JWK), used to represent
symmetric keys. |
class |
RSAKey
Public and private
RSA JSON Web Key (JWK). |
Modifier and Type | Method and Description |
---|---|
JWK |
JWKSet.getKeyByKeyId(String kid)
Gets the key from this JSON Web Key (JWK) set as identified by its
Key ID (kid) member.
|
static JWK |
JWK.parse(net.minidev.json.JSONObject jsonObject)
Parses a JWK from the specified JSON object representation.
|
static JWK |
JWK.parse(String s)
Parses a JWK from the specified JSON object string representation.
|
abstract JWK |
JWK.toPublicJWK()
Creates a copy of this JWK with all private or sensitive parameters
removed.
|
Modifier and Type | Method and Description |
---|---|
List<JWK> |
JWKSet.getKeys()
Gets the keys (ordered) of this JSON Web Key (JWK) set.
|
List<JWK> |
JWKSelector.select(JWKSet jwkSet)
Selects the keys from the specified JWK set according to the
matcher's criteria.
|
Modifier and Type | Method and Description |
---|---|
static Base64URL |
ThumbprintUtils.compute(JWK jwk)
Computes the SHA-256 thumbprint for the specified JWK.
|
static Base64URL |
ThumbprintUtils.compute(String hashAlg,
JWK jwk)
Computes the thumbprint for the specified JWK.
|
boolean |
JWKMatcher.matches(JWK key)
Returns
true if the specified JWK matches. |
Constructor and Description |
---|
JWKSet(JWK key)
Creates a new JSON Web Key (JWK) set with a single key.
|
Constructor and Description |
---|
JWKSet(List<JWK> keys)
Creates a new JSON Web Key (JWK) set with the specified keys.
|
JWKSet(List<JWK> keys,
Map<String,Object> customMembers)
Creates a new JSON Web Key (JWK) set with the specified keys and
additional custom members.
|
Copyright © 2016 Connect2id Ltd.. All rights reserved.