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