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 |
---|---|
JWEHeader.Builder |
JWEHeader.Builder.jwk(JWK jwk)
Sets the JSON Web Key (JWK) (
jwk ) parameter. |
JWSHeader.Builder |
JWSHeader.Builder.jwk(JWK jwk)
Sets the JSON Web Key (JWK) (
jwk ) parameter. |
Constructor and Description |
---|
JWEHeader(Algorithm alg,
EncryptionMethod enc,
JOSEObjectType typ,
java.lang.String cty,
java.util.Set<java.lang.String> crit,
java.net.URL jku,
JWK jwk,
java.net.URL x5u,
Base64URL x5t,
Base64URL x5t256,
java.util.List<Base64> x5c,
java.lang.String kid,
ECKey epk,
CompressionAlgorithm zip,
Base64URL apu,
Base64URL apv,
Base64URL p2s,
int p2c,
Base64URL iv,
Base64URL tag,
java.util.Map<java.lang.String,java.lang.Object> customParams,
Base64URL parsedBase64URL)
Creates a new JSON Web Encryption (JWE) header.
|
JWSHeader(JWSAlgorithm alg,
JOSEObjectType typ,
java.lang.String cty,
java.util.Set<java.lang.String> crit,
java.net.URL jku,
JWK jwk,
java.net.URL x5u,
Base64URL x5t,
Base64URL x5t256,
java.util.List<Base64> x5c,
java.lang.String kid,
java.util.Map<java.lang.String,java.lang.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(java.lang.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(java.lang.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 |
---|---|
java.util.List<JWK> |
JWKSet.getKeys()
Gets the keys (ordered) of this JSON Web Key (JWK) set.
|
java.util.List<JWK> |
JWKSelector.select(JWKSet jwkSet)
Selects the keys from the specified JWK set that match the
configured criteria.
|
Constructor and Description |
---|
JWKSet(JWK key)
Creates a new JSON Web Key (JWK) set with a single key.
|
Constructor and Description |
---|
JWKSet(java.util.List<JWK> keys)
Creates a new JSON Web Key (JWK) set with the specified keys.
|
JWKSet(java.util.List<JWK> keys,
java.util.Map<java.lang.String,java.lang.Object> customMembers)
Creates a new JSON Web Key (JWK) set with the specified keys and
additional custom members.
|
Copyright © 2014 Connect2id Ltd.. All Rights Reserved.