org.apache.cxf.rs.security.jose.jwe
Class DirectKeyEncryptionAlgorithm
java.lang.Object
org.apache.cxf.rs.security.jose.jwe.DirectKeyEncryptionAlgorithm
- All Implemented Interfaces:
- KeyEncryptionProvider
- Direct Known Subclasses:
- EcdhDirectKeyJweEncryption.EcdhDirectKeyEncryptionAlgorithm
public class DirectKeyEncryptionAlgorithm
- extends Object
- implements KeyEncryptionProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectKeyEncryptionAlgorithm
public DirectKeyEncryptionAlgorithm()
getEncryptedContentEncryptionKey
public byte[] getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] theCek)
- Specified by:
getEncryptedContentEncryptionKey in interface KeyEncryptionProvider
checkKeyEncryptionAlgorithm
protected void checkKeyEncryptionAlgorithm(JweHeaders headers)
getAlgorithm
public KeyAlgorithm getAlgorithm()
- Specified by:
getAlgorithm in interface KeyEncryptionProvider
Apache CXF