org.apache.cxf.rs.security.jose.jwe
Class AbstractContentEncryptionAlgorithm
java.lang.Object
org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionAlgorithm
- All Implemented Interfaces:
- ContentEncryptionCipherProperties, ContentEncryptionProvider
- Direct Known Subclasses:
- AesGcmContentEncryptionAlgorithm
public abstract class AbstractContentEncryptionAlgorithm
- extends AbstractContentEncryptionCipherProperties
- implements ContentEncryptionProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractContentEncryptionAlgorithm
protected AbstractContentEncryptionAlgorithm(byte[] cek,
byte[] iv,
ContentAlgorithm algo)
getContentEncryptionKey
public byte[] getContentEncryptionKey(JweHeaders headers)
- Specified by:
getContentEncryptionKey in interface ContentEncryptionProvider
getInitVector
public byte[] getInitVector()
- Specified by:
getInitVector in interface ContentEncryptionProvider
getIvSize
protected int getIvSize()
Apache CXF