Package | Description |
---|---|
org.apache.cxf.rs.security.jose.common | |
org.apache.cxf.rs.security.jose.jaxrs | |
org.apache.cxf.rs.security.jose.jwe | |
org.apache.cxf.rs.security.jose.jwt |
Modifier and Type | Method and Description |
---|---|
protected JweDecryptionProvider |
AbstractJoseConsumer.getInitializedDecryptionProvider(JweHeaders jweHeaders) |
protected JweEncryptionProvider |
AbstractJoseProducer.getInitializedEncryptionProvider(JweHeaders jweHeaders) |
Modifier and Type | Method and Description |
---|---|
protected JweDecryptionProvider |
AbstractJweJsonDecryptingFilter.getInitializedDecryptionProvider(JweHeaders headers) |
protected JweDecryptionProvider |
AbstractJweDecryptingFilter.getInitializedDecryptionProvider(JweHeaders headers) |
protected JweEncryptionProvider |
JweWriterInterceptor.getInitializedEncryptionProvider(JweHeaders headers) |
protected List<JweEncryptionProvider> |
AbstractJweJsonWriterProvider.getInitializedEncryptionProviders(List<String> propLocs,
JweHeaders sharedProtectedHeaders,
List<JweHeaders> perRecipientUnprotectedHeaders) |
protected void |
JweWriterInterceptor.protectHttpHeadersIfNeeded(javax.ws.rs.ext.WriterInterceptorContext ctx,
JweHeaders jweHeaders) |
protected void |
JweJsonWriterInterceptor.protectHttpHeadersIfNeeded(javax.ws.rs.ext.WriterInterceptorContext ctx,
JweHeaders jweHeaders) |
protected void |
AbstractJweJsonDecryptingFilter.validateHeaders(JweHeaders headers) |
protected void |
AbstractJweDecryptingFilter.validateHeaders(JweHeaders headers) |
protected void |
AbstractJweJsonDecryptingFilter.validateHttpHeadersIfNeeded(javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
JweHeaders jweHeaders) |
protected void |
AbstractJweDecryptingFilter.validateHttpHeadersIfNeeded(javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
JweHeaders jweHeaders) |
Modifier and Type | Method and Description |
---|---|
protected List<JweEncryptionProvider> |
AbstractJweJsonWriterProvider.getInitializedEncryptionProviders(List<String> propLocs,
JweHeaders sharedProtectedHeaders,
List<JweHeaders> perRecipientUnprotectedHeaders) |
Modifier and Type | Method and Description |
---|---|
JweHeaders |
JweDecryptionOutput.getHeaders() |
JweHeaders |
JweJwtCompactConsumer.getHeaders() |
JweHeaders |
JweEncryptionOutput.getHeaders() |
JweHeaders |
JweDecryptionInput.getJweHeaders() |
JweHeaders |
JweEncryptionInput.getJweHeaders() |
JweHeaders |
JweCompactConsumer.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 |
EcdhDirectKeyEncryptionAlgorithm.checkKeyEncryptionAlgorithm(JweHeaders headers) |
protected JweEncryptionInput |
JweJsonProducer.createEncryptionInput(JweHeaders jsonHeaders) |
static JweEncryptionProvider |
JweUtils.createJweEncryptionProvider(JsonWebKey key,
JweHeaders headers) |
static JweEncryptionProvider |
JweUtils.createJweEncryptionProvider(JsonWebKey key,
JweHeaders headers,
boolean generateCekOnce) |
static JweEncryptionProvider |
JweUtils.createJweEncryptionProvider(JsonWebKey key,
JweHeaders headers,
ContentEncryptionProvider contentEncryptionProvider) |
static JweEncryptionProvider |
JweUtils.createJweEncryptionProvider(KeyEncryptionProvider keyEncryptionProvider,
JweHeaders headers) |
static JweEncryptionProvider |
JweUtils.createJweEncryptionProvider(KeyEncryptionProvider keyEncryptionProvider,
JweHeaders headers,
boolean generateCekOnce) |
static JweEncryptionProvider |
JweUtils.createJweEncryptionProvider(PublicKey key,
JweHeaders headers) |
static JweEncryptionProvider |
JweUtils.createJweEncryptionProvider(SecretKey key,
JweHeaders headers) |
String |
JweEncryptionProvider.encrypt(byte[] jweContent,
JweHeaders jweHeaders)
JWE compact encryption
|
String |
AbstractJweEncryption.encrypt(byte[] content,
JweHeaders jweHeaders) |
String |
JweJsonProducer.encryptWith(JweEncryptionProvider encryptor,
JweHeaders recipientUnprotected) |
protected AlgorithmParameterSpec |
AesGcmWrapKeyEncryptionAlgorithm.getAlgorithmParameterSpec(JweHeaders headers) |
protected AlgorithmParameterSpec |
AbstractWrapKeyEncryptionAlgorithm.getAlgorithmParameterSpec(JweHeaders headers) |
protected String |
AbstractWrapKeyEncryptionAlgorithm.getContentEncryptionAlgoJava(JweHeaders headers) |
byte[] |
AbstractContentEncryptionAlgorithm.getContentEncryptionKey(JweHeaders headers) |
byte[] |
EcdhAesGcmContentEncryptionAlgorithm.getContentEncryptionKey(JweHeaders headers) |
byte[] |
ContentEncryptionProvider.getContentEncryptionKey(JweHeaders headers) |
protected byte[] |
AbstractJweEncryption.getContentEncryptionKey(JweHeaders headers) |
protected int |
AbstractContentEncryptionAlgorithm.getContentEncryptionKeySize(JweHeaders headers) |
protected int |
AesCbcContentEncryptionAlgorithm.getContentEncryptionKeySize(JweHeaders headers) |
protected byte[] |
EcdhAesWrapKeyDecryptionAlgorithm.getDecryptedContentEncryptionKeyFromHeaders(JweHeaders headers,
ECPrivateKey privateKey) |
protected byte[] |
EcdhDirectKeyDecryptionAlgorithm.getDecryptedContentEncryptionKeyFromHeaders(JweHeaders headers,
ECPrivateKey key) |
static ContentEncryptionProvider |
JweUtils.getEcdhDirectContentEncryptionProvider(JsonWebKey key,
JweHeaders headers) |
protected byte[] |
AesCbcHmacJweEncryption.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] theCek) |
byte[] |
PbesHmacAesWrapKeyEncryptionAlgorithm.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek) |
byte[] |
AesGcmWrapKeyEncryptionAlgorithm.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek) |
byte[] |
DirectKeyEncryptionAlgorithm.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] theCek) |
protected byte[] |
AbstractJweEncryption.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] theCek) |
byte[] |
EcdhAesWrapKeyEncryptionAlgorithm.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek) |
byte[] |
KeyEncryptionProvider.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek) |
byte[] |
AbstractWrapKeyEncryptionAlgorithm.getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek) |
byte[] |
ContentDecryptionProvider.getEncryptedSequence(JweHeaders headers,
byte[] cipher,
byte[] authTag) |
byte[] |
AesGcmContentDecryptionAlgorithm.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) |
static JweDecryptionProvider |
JweUtils.loadDecryptionProvider(JweHeaders inHeaders,
boolean required) |
static JweDecryptionProvider |
JweUtils.loadDecryptionProvider(Properties props,
JweHeaders inHeaders) |
static JweEncryptionProvider |
JweUtils.loadEncryptionProvider(JweHeaders headers,
boolean required) |
static JweEncryptionProvider |
JweUtils.loadEncryptionProvider(Properties props,
JweHeaders headers) |
static JweEncryptionProvider |
JweUtils.loadEncryptionProvider(Properties props,
Message m,
JweHeaders headers) |
static KeyEncryptionProvider |
JweUtils.loadKeyEncryptionProvider(Properties props,
Message m,
JweHeaders headers) |
void |
JweEncryptionInput.setJweHeaders(JweHeaders jweHeaders) |
void |
JweHeaders.setProtectedHeaders(JweHeaders protectedHeaders) |
static String |
JweCompactBuilder.startJweContent(JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector) |
static void |
JweCompactBuilder.startJweContent(OutputStream os,
JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector) |
static StringBuilder |
JweCompactBuilder.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 |
---|
JweCompactBuilder(JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentNoTag,
byte[] authenticationTag) |
JweCompactBuilder(JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentWithTag,
int authTagLengthBits) |
JweCompactProducer(JweHeaders joseHeaders,
String data) |
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[] encryptedContentEncryptionKey,
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) |
JweJsonProducer(JweHeaders protectedHeader,
JweHeaders unprotectedHeader,
byte[] content,
byte[] aad,
boolean canBeFlat) |
JweJwtCompactProducer(JweHeaders joseHeaders,
JwtClaims claims) |
Modifier and Type | Method and Description |
---|---|
JweHeaders |
JwtToken.getJweHeaders() |
Constructor and Description |
---|
JwtToken(JweHeaders jweHeaders,
JwtClaims claims) |
JwtToken(JwsHeaders jwsHeaders,
JweHeaders jweHeaders,
JwtClaims claims) |
Apache CXF