Package | Description |
---|---|
com.nimbusds.jose |
Base Javascript Object Signing and Encryption (JOSE) interfaces and classes.
|
com.nimbusds.jose.proc |
Framework for application-specific verification and decryption of JOSE
objects (with arbitrary payloads).
|
Modifier and Type | Field and Description |
---|---|
static JOSEObjectType |
JOSEObjectType.JOSE
Compact encoded JOSE object type.
|
static JOSEObjectType |
JOSEObjectType.JOSE_JSON
JSON-encoded JOSE object type..
|
static JOSEObjectType |
JOSEObjectType.JWT
JSON Web Token (JWT) object type.
|
Modifier and Type | Method and Description |
---|---|
JOSEObjectType |
Header.getType()
Gets the type (
typ ) parameter. |
Modifier and Type | Method and Description |
---|---|
PlainHeader.Builder |
PlainHeader.Builder.type(JOSEObjectType typ)
Sets the type (
typ ) parameter. |
JWSHeader.Builder |
JWSHeader.Builder.type(JOSEObjectType typ)
Sets the type (
typ ) parameter. |
JWEHeader.Builder |
JWEHeader.Builder.type(JOSEObjectType typ)
Sets the type (
typ ) parameter. |
Constructor and Description |
---|
Header(Algorithm alg,
JOSEObjectType typ,
String cty,
Set<String> crit,
Map<String,Object> customParams,
Base64URL parsedBase64URL)
Creates a new abstract header.
|
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,
JWK 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,
boolean b64,
Map<String,Object> customParams,
Base64URL parsedBase64URL)
Creates a new JSON Web Signature (JWS) 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)
Deprecated.
|
PlainHeader(JOSEObjectType typ,
String cty,
Set<String> crit,
Map<String,Object> customParams,
Base64URL parsedBase64URL)
Creates a new unsecured (plain) header with algorithm
none . |
Modifier and Type | Method and Description |
---|---|
Set<JOSEObjectType> |
DefaultJOSEObjectTypeVerifier.getAllowedTypes()
Returns the allowed JOSE object types.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultJOSEObjectTypeVerifier.verify(JOSEObjectType type,
C context) |
void |
JOSEObjectTypeVerifier.verify(JOSEObjectType type,
C context)
Verifies the JOSE "typ" (type) header parameter.
|
Constructor and Description |
---|
DefaultJOSEObjectTypeVerifier(JOSEObjectType... allowedTypes)
Creates a new JOSE object type verifier allowing the specified
types.
|
Constructor and Description |
---|
DefaultJOSEObjectTypeVerifier(Set<JOSEObjectType> allowedTypes)
Creates a new JOSE object type verifier allowing the specified
types.
|
Copyright © 2021 Connect2id Ltd.. All rights reserved.