Class DirectKeyEncryptionAlgorithm
- java.lang.Object
-
- org.apache.cxf.rs.security.jose.jwe.DirectKeyEncryptionAlgorithm
-
- All Implemented Interfaces:
KeyEncryptionProvider
- Direct Known Subclasses:
EcdhDirectKeyEncryptionAlgorithm
public class DirectKeyEncryptionAlgorithm extends Object implements KeyEncryptionProvider
-
-
Constructor Summary
Constructors Constructor Description DirectKeyEncryptionAlgorithm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckKeyEncryptionAlgorithm(JweHeaders headers)KeyAlgorithmgetAlgorithm()byte[]getEncryptedContentEncryptionKey(JweHeaders headers, byte[] theCek)
-
-
-
Method Detail
-
getEncryptedContentEncryptionKey
public byte[] getEncryptedContentEncryptionKey(JweHeaders headers, byte[] theCek)
- Specified by:
getEncryptedContentEncryptionKeyin interfaceKeyEncryptionProvider
-
checkKeyEncryptionAlgorithm
protected void checkKeyEncryptionAlgorithm(JweHeaders headers)
-
getAlgorithm
public KeyAlgorithm getAlgorithm()
- Specified by:
getAlgorithmin interfaceKeyEncryptionProvider
-
-