Package | Description |
---|---|
org.apache.cxf.rs.security.jose.jaxrs | |
org.apache.cxf.rs.security.jose.jwe |
Modifier and Type | Method and Description |
---|---|
protected JweDecryptionProvider |
AbstractJweDecryptingFilter.getInitializedDecryptionProvider(JweHeaders headers) |
protected JweEncryptionProvider |
JweWriterInterceptor.getInitializedEncryptionProvider(JweHeaders headers) |
protected void |
AbstractJweDecryptingFilter.validateHeaders(JweHeaders headers) |
Modifier and Type | Method and Description |
---|---|
JweHeaders |
JweDecryptionOutput.getHeaders() |
JweHeaders |
JweEncryptionOutput.getHeaders() |
JweHeaders |
JweCompactConsumer.getJweHeaders() |
JweHeaders |
JweDecryptionInput.getJweHeaders() |
JweHeaders |
JweEncryptionInput.getJweHeaders() |
JweHeaders |
JweJsonConsumer.getProtectedHeader() |
JweHeaders |
JweHeaders.getProtectedHeaders() |
JweHeaders |
JweJsonConsumer.getSharedUnprotectedHeader() |
JweHeaders |
JweJsonEncryptionEntry.getUnprotectedHeader() |
Modifier and Type | Method and Description |
---|---|
Map<JweJsonEncryptionEntry,JweHeaders> |
JweJsonConsumer.getRecipientsMap() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractWrapKeyEncryptionAlgorithm.checkAlgorithms(JweHeaders headers) |
protected void |
DirectKeyEncryptionAlgorithm.checkKeyEncryptionAlgorithm(JweHeaders headers) |
protected void |
EcdhDirectKeyJweEncryption.EcdhDirectKeyEncryptionAlgorithm.checkKeyEncryptionAlgorithm(JweHeaders headers) |
protected JweEncryptionInput |
JweJsonProducer.createEncryptionInput(JweHeaders jsonHeaders) |
static JweEncryptionProvider |
JweUtils.createJweEncryptionProvider(JsonWebKey key,
JweHeaders headers) |
static JweEncryptionProvider |
JweUtils.createJweEncryptionProvider(KeyEncryptionProvider keyEncryptionProvider,
JweHeaders headers) |
static JweEncryptionProvider |
JweUtils.createJweEncryptionProvider(RSAPublicKey key,
JweHeaders headers) |
static JweEncryptionProvider |
JweUtils.createJweEncryptionProvider(SecretKey key,
JweHeaders headers) |
String |
AbstractJweEncryption.encrypt(byte[] content,
JweHeaders jweHeaders) |
String |
JweEncryptionProvider.encrypt(byte[] jweContent,
JweHeaders jweHeaders)
JWE compact encryption
|
String |
JweJsonProducer.encryptWith(JweEncryptionProvider encryptor,
JweHeaders recipientUnprotected) |
protected AlgorithmParameterSpec |
AbstractWrapKeyEncryptionAlgorithm.getAlgorithmParameterSpec(JweHeaders headers) |
protected AlgorithmParameterSpec |
AesGcmWrapKeyEncryptionAlgorithm.getAlgorithmParameterSpec(JweHeaders headers) |
protected String |
AbstractWrapKeyEncryptionAlgorithm.getContentEncryptionAlgoJava(JweHeaders headers) |
byte[] |
AbstractContentEncryptionAlgorithm.getContentEncryptionKey(JweHeaders headers) |
protected byte[] |
AbstractJweEncryption.getContentEncryptionKey(JweHeaders headers) |
byte[] |
ContentEncryptionProvider.getContentEncryptionKey(JweHeaders headers) |
byte[] |
EcdhDirectKeyJweEncryption.EcdhAesGcmContentEncryptionAlgorithm.getContentEncryptionKey(JweHeaders headers) |
protected static byte[] |
EcdhDirectKeyJweDecryption.getDecryptedContentEncryptionKeyFromHeaders(JweHeaders headers,
ECPrivateKey privateKey) |
byte[] |
EcdhDirectKeyJweEncryption.EcdhHelper.getDerivedKey(JweHeaders headers) |
protected byte[] |
AbstractJweEncryption.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] theCek) |
byte[] |
AbstractWrapKeyEncryptionAlgorithm.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek) |
protected byte[] |
AesCbcHmacJweEncryption.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] theCek) |
byte[] |
AesGcmWrapKeyEncryptionAlgorithm.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek) |
byte[] |
DirectKeyEncryptionAlgorithm.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] theCek) |
byte[] |
EcdhAesWrapKeyEncryptionAlgorithm.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek) |
byte[] |
KeyEncryptionProvider.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek) |
byte[] |
PbesHmacAesWrapKeyEncryptionAlgorithm.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek) |
byte[] |
AesGcmContentDecryptionAlgorithm.getEncryptedSequence(JweHeaders headers,
byte[] cipher,
byte[] authTag) |
byte[] |
ContentDecryptionAlgorithm.getEncryptedSequence(JweHeaders headers,
byte[] cipher,
byte[] authTag) |
protected static AesCbcHmacJweEncryption.MacState |
AesCbcHmacJweEncryption.getInitializedMacState(byte[] secretKey,
byte[] theIv,
byte[] extraAad,
JweHeaders theHeaders,
String protectedHeadersJson) |
protected String |
AbstractWrapKeyEncryptionAlgorithm.getKeyEncryptionAlgoJava(JweHeaders headers) |
protected byte[] |
AbstractJweEncryption.getProvidedContentEncryptionKey(JweHeaders headers) |
static JweDecryptionProvider |
JweUtils.loadDecryptionProvider(JweHeaders inHeaders,
boolean required) |
static JweEncryptionProvider |
JweUtils.loadEncryptionProvider(JweHeaders headers,
boolean required) |
void |
JweEncryptionInput.setJweHeaders(JweHeaders jweHeaders) |
void |
JweHeaders.setProtectedHeaders(JweHeaders protectedHeaders) |
static String |
JweCompactProducer.startJweContent(JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector) |
static void |
JweCompactProducer.startJweContent(OutputStream os,
JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector) |
static StringBuilder |
JweCompactProducer.startJweContent(StringBuilder sb,
JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector) |
Modifier and Type | Method and Description |
---|---|
String |
JweJsonProducer.encryptWith(List<JweEncryptionProvider> encryptors,
List<JweHeaders> recipientUnprotected) |
Constructor and Description |
---|
JweCompactProducer(JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentNoTag,
byte[] authenticationTag) |
JweCompactProducer(JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentWithTag,
int authTagLengthBits) |
JweDecryptionInput(byte[] encryptedCEK,
byte[] initVector,
byte[] encryptedContent,
byte[] authTag,
byte[] aad,
String headersJson,
JweHeaders jweHeaders) |
JweDecryptionOutput(JweHeaders headers,
byte[] content) |
JweEncryptionInput(JweHeaders jweHeaders) |
JweEncryptionInput(JweHeaders jweHeaders,
byte[] content) |
JweEncryptionInput(JweHeaders jweHeaders,
byte[] content,
byte[] aad) |
JweEncryptionInput(JweHeaders jweHeaders,
byte[] content,
byte[] cek,
byte[] iv) |
JweEncryptionInput(JweHeaders jweHeaders,
byte[] content,
byte[] aad,
byte[] cek,
byte[] iv) |
JweEncryptionOutput(Cipher cipher,
JweHeaders headers,
byte[] contentEncryptionKey,
byte[] iv,
AuthenticationTagProducer authTagProducer,
KeyProperties keyProps,
byte[] encryptedContent,
byte[] authTag) |
JweJsonEncryptionEntry(JweHeaders unprotectedHeader,
String encodedEncryptedKey) |
JweJsonProducer(JweHeaders protectedHeader,
byte[] content) |
JweJsonProducer(JweHeaders protectedHeader,
byte[] content,
boolean canBeFlat) |
JweJsonProducer(JweHeaders protectedHeader,
byte[] content,
byte[] aad,
boolean canBeFlat) |
JweJsonProducer(JweHeaders protectedHeader,
JweHeaders unprotectedHeader,
byte[] content,
byte[] aad,
boolean canBeFlat) |
Apache CXF