Package | Description |
---|---|
org.picketlink.json.jose |
Javascript Object Signing and Encryption (JOSE) classes.
|
Modifier and Type | Class and Description |
---|---|
class |
JWEBuilder<T extends JWE,B extends JWEBuilder<?,?>>
JSON Web Encryption (JWE) header Builder.
|
Modifier and Type | Method and Description |
---|---|
JWEBuilder<T,B> |
JWEBuilder.algorithm(String algorithm)
Sets the algorithm used to encrypt or determine the value of the Content Encryption Key (CEK).
|
JWEBuilder<T,B> |
JWEBuilder.compressionAlgorithm(String zipAlgorithm)
Sets the compression algorithm.
|
JWEBuilder<T,B> |
JWEBuilder.contentType(String contentType)
Sets the content type of JSON Web Encryption
|
JWEBuilder<T,B> |
JWEBuilder.encryptionAlgorithm(String encAlgorithm,
int cekBitLength)
Sets the encryption algorithm used to encrypt the Plaintext to produce the Ciphertext.
|
JWEBuilder<T,B> |
JWEBuilder.header(String name,
int... value)
Updates
JWE Header with the specified string header and its value(s). |
JWEBuilder<T,B> |
JWEBuilder.header(String name,
javax.json.JsonArray value)
Updates
JWE Header with the specified string header and its value(s). |
JWEBuilder<T,B> |
JWEBuilder.header(String name,
List<javax.json.JsonObject> value)
Updates
JWE Header with the specified string header and its value(s). |
JWEBuilder<T,B> |
JWEBuilder.header(String name,
String... value)
Updates
JWE Header with the specified string header and its value(s). |
JWEBuilder<T,B> |
JWEBuilder.JWKSet(String jwkSetURL)
Updates the
JWE JSON with the JWKSetURL. |
JWEBuilder<T,B> |
JWEBuilder.keyIdentifier(String keyId)
Sets the key identifier used to determine the private key needed to decrypt the JWE.
|
JWEBuilder<T,B> |
JWEBuilder.keys(JWK... keys)
Returns the JWK Set consisting of JWK Keys.
|
JWEBuilder<T,B> |
JWEBuilder.keys(JWKSet keySet)
Sets the JSON Web Key Set.
|
JWEBuilder<T,B> |
JWEBuilder.type(String type)
Sets the type of JSON Web Encryption
|
JWEBuilder<T,B> |
JWEBuilder.X509CertificateChain(String... certificates)
Sets the x509 certificate chain.
|
JWEBuilder<T,B> |
JWEBuilder.X509CertificateSHA1Thumbprint(String sha1Thumbprint)
Sets the x509 SHA1 certificate thumbprint.
|
JWEBuilder<T,B> |
JWEBuilder.X509CertificateSHA256Thumbprint(String sha256Thumbprint)
Sets the x509 SHA256 certificate thumbprint.
|
JWEBuilder<T,B> |
JWEBuilder.X509URL(String x509URL)
Sets the x509 URL.
|
Copyright © 2018. All rights reserved.