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:
- ContentEncryptionAlgorithm, ContentEncryptionCipherProperties
- Direct Known Subclasses:
- AesGcmContentEncryptionAlgorithm
public abstract class AbstractContentEncryptionAlgorithm
- extends AbstractContentEncryptionCipherProperties
- implements ContentEncryptionAlgorithm
| 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,
String algo)
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm in interface ContentEncryptionAlgorithm
getContentEncryptionKey
public byte[] getContentEncryptionKey(JweHeaders headers)
- Specified by:
getContentEncryptionKey in interface ContentEncryptionAlgorithm
getInitVector
public byte[] getInitVector()
- Specified by:
getInitVector in interface ContentEncryptionAlgorithm
getIvSize
protected int getIvSize()
Apache CXF