gluu
|
公開メンバ関数 | |
JwtHeader () | |
JwtHeader (JSONObject jsonObject) | |
JwtHeader (String base64JsonObject) throws InvalidJwtException | |
JwtHeader | setType (JwtType type) |
SignatureAlgorithm | getAlgorithm () |
JwtHeader | setAlgorithm (SignatureAlgorithm algorithm) |
JwtHeader | setAlgorithm (KeyEncryptionAlgorithm algorithm) |
String | getKeyId () |
JwtHeader | setKeyId (String keyId) |
void | setContentType (JwtType contentType) |
void | setEncryptionMethod (BlockEncryptionAlgorithm encryptionMethod) |
void | setEphemeralPublicKey (String ephemeralPublicKey) |
void | setCompressionAlgorithm (String compressionAlgorithm) |
void | setAgreementPartyUInfo (String agreementPartyUInfo) |
void | setAgreementPartyVInfo (String agreementPartyVInfo) |
void | setEncryptionPartyUInfo (String encryptionPartyUInfo) |
void | setEncryptionPartyVInfo (String encryptionPartyVInfo) |
Set< String > | keys () |
Object | getClaim (String key) |
boolean | hasClaim (String key) |
String | getClaimAsString (String key) |
JSONObject | getClaimAsJSON (String key) |
List< String > | getClaimAsStringList (String key) |
Date | getClaimAsDate (String key) |
Integer | getClaimAsInteger (String key) |
Long | getClaimAsLong (String key) |
Character | getClaimAsCharacter (String key) |
void | setClaimObject (String key, Object value, boolean overrideValue) |
void | setNullClaim (String key) |
void | setClaim (String key, String value) |
void | setClaim (String key, Date value) |
void | setClaim (String key, Boolean value) |
void | setClaim (String key, Integer value) |
void | setClaim (String key, Long value) |
void | setClaim (String key, Character value) |
void | setClaim (String key, List values) |
void | setClaim (String key, JwtSubClaimObject subClaimObject) |
void | setClaim (String key, JSONObject values) |
void | removeClaim (String key) |
JSONObject | toJsonObject () throws InvalidJwtException |
String | toBase64JsonObject () throws InvalidJwtException |
String | toJsonString () throws InvalidJwtException |
Map< String, List< String > > | toMap () throws InvalidJwtException |
void | load (JSONObject jsonObject) |
void | load (String base64JsonObject) throws InvalidJwtException |
静的公開メンバ関数 | |
static JwtHeader | instance () |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlinestatic |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
The "apu" (agreement PartyUInfo) value for key agreement algorithms using it (such as "ECDH-ES"), represented as a base64url encoded string.
agreementPartyUInfo | The Agreement PartyUInfo. |
|
inline |
The "apv" (agreement PartyVInfo) value for key agreement algorithms using it (such as "ECDH-ES"), represented as a base64url encoded string.
agreementPartyVInfo | The Agreement PartyVInfo. |
|
inline |
Identifies the cryptographic algorithm used to secure the JWS.
algorithm | The cryptographic algorithm. |
|
inline |
Identifies the cryptographic algorithm used to encrypt the JWE.
algorithm | The cryptographic algorithm. |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
The "zip" (compression algorithm) applied to the Plaintext before encryption, if any. If present, the value of the "zip" header parameter MUST be the case sensitive string "DEF". Compression is performed with the DEFLATE algorithm.
compressionAlgorithm | The compression algorithm. |
|
inline |
In a JWS it is used to declare the type of the secured content (the Payload). In a JWE it is used to declare the type of the encrypted content (the Plaintext).
contentType | The content type. |
|
inline |
Identifies the block encryption algorithm used to encrypt the Plaintext to produce the Cipher Text.
encryptionMethod | The JWE Encryption Method |
|
inline |
The "epu" (encryption PartyUInfo) value for plaintext encryption algorithms using it (such as "A128CBC+HS256"), represented as a base64url encoded string.
encryptionPartyUInfo | The Encryption PartyUInfo. |
|
inline |
The "epv" (encryption PartyVInfo) value for plaintext encryption algorithms using it (such as "A128CBC+HS256"), represented as a base64url encoded string.
encryptionPartyVInfo | The Encryption PartyVInfo. |
|
inline |
Value created by the originator for the use in key agreement algorithms.
ephemeralPublicKey | The Ephemeral Public Key. |
|
inline |
Indicates which key was used to secure/encrypt the JWS/JWE.
keyId | The key id. |
|
inlineinherited |
Declares the type of this object.
type | The type of this object. |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |