org.apache.cxf.rs.security.oauth2.jwe
Class WrappedKeyJweEncryption
java.lang.Object
org.apache.cxf.rs.security.oauth2.jwe.AbstractJweEncryption
org.apache.cxf.rs.security.oauth2.jwe.WrappedKeyJweEncryption
- All Implemented Interfaces:
- JweEncryptionProvider
- Direct Known Subclasses:
- RSAJweEncryption
public class WrappedKeyJweEncryption
- extends AbstractJweEncryption
|
Constructor Summary |
WrappedKeyJweEncryption(JweHeaders headers,
Key cekEncryptionKey)
|
WrappedKeyJweEncryption(JweHeaders headers,
Key cekEncryptionKey,
byte[] cek,
byte[] iv)
|
WrappedKeyJweEncryption(JweHeaders headers,
Key cekEncryptionKey,
byte[] cek,
byte[] iv,
int authTagLen,
boolean wrap)
|
WrappedKeyJweEncryption(JweHeaders headers,
Key cekEncryptionKey,
byte[] cek,
byte[] iv,
int authTagLen,
boolean wrap,
JwtHeadersWriter writer)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrappedKeyJweEncryption
public WrappedKeyJweEncryption(JweHeaders headers,
Key cekEncryptionKey)
WrappedKeyJweEncryption
public WrappedKeyJweEncryption(JweHeaders headers,
Key cekEncryptionKey,
byte[] cek,
byte[] iv)
WrappedKeyJweEncryption
public WrappedKeyJweEncryption(JweHeaders headers,
Key cekEncryptionKey,
byte[] cek,
byte[] iv,
int authTagLen,
boolean wrap)
WrappedKeyJweEncryption
public WrappedKeyJweEncryption(JweHeaders headers,
Key cekEncryptionKey,
byte[] cek,
byte[] iv,
int authTagLen,
boolean wrap,
JwtHeadersWriter writer)
getContentEncryptionKey
protected byte[] getContentEncryptionKey()
- Overrides:
getContentEncryptionKey in class AbstractJweEncryption
getEncryptedContentEncryptionKey
protected byte[] getEncryptedContentEncryptionKey(byte[] theCek)
- Specified by:
getEncryptedContentEncryptionKey in class AbstractJweEncryption
getContentEncryptionKeyEncryptionAlgo
protected String getContentEncryptionKeyEncryptionAlgo()
Apache CXF