public abstract class AbstractContentEncryptionAlgorithm extends AbstractContentEncryptionCipherProperties implements ContentEncryptionProvider
LOG| Modifier | Constructor and Description |
|---|---|
protected |
AbstractContentEncryptionAlgorithm(byte[] cek,
byte[] iv,
ContentAlgorithm algo) |
protected |
AbstractContentEncryptionAlgorithm(ContentAlgorithm algo,
boolean generateCekOnce) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContentEncryptionKey(JweHeaders headers) |
protected int |
getContentEncryptionKeySize(JweHeaders headers) |
byte[] |
getInitVector() |
protected int |
getIvSize() |
getAdditionalAuthenticationData, getAlgorithm, getAlgorithmParameterSpec, getAuthTagLenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAdditionalAuthenticationData, getAlgorithm, getAlgorithmParameterSpecprotected AbstractContentEncryptionAlgorithm(ContentAlgorithm algo, boolean generateCekOnce)
protected AbstractContentEncryptionAlgorithm(byte[] cek,
byte[] iv,
ContentAlgorithm algo)
public byte[] getContentEncryptionKey(JweHeaders headers)
getContentEncryptionKey in interface ContentEncryptionProviderpublic byte[] getInitVector()
getInitVector in interface ContentEncryptionProviderprotected int getContentEncryptionKeySize(JweHeaders headers)
protected int getIvSize()
Apache CXF