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, getAuthTagLen
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdditionalAuthenticationData, getAlgorithm, getAlgorithmParameterSpec
protected AbstractContentEncryptionAlgorithm(ContentAlgorithm algo, boolean generateCekOnce)
protected AbstractContentEncryptionAlgorithm(byte[] cek, byte[] iv, ContentAlgorithm algo)
public byte[] getContentEncryptionKey(JweHeaders headers)
getContentEncryptionKey
in interface ContentEncryptionProvider
public byte[] getInitVector()
getInitVector
in interface ContentEncryptionProvider
protected int getContentEncryptionKeySize(JweHeaders headers)
protected int getIvSize()
Apache CXF