org.apache.cxf.rs.security.jose.jwe
Class AesGcmWrapKeyEncryptionAlgorithm
java.lang.Object
org.apache.cxf.rs.security.jose.jwe.AbstractWrapKeyEncryptionAlgorithm
org.apache.cxf.rs.security.jose.jwe.AesGcmWrapKeyEncryptionAlgorithm
- All Implemented Interfaces:
- KeyEncryptionAlgorithm
public class AesGcmWrapKeyEncryptionAlgorithm
- extends AbstractWrapKeyEncryptionAlgorithm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AesGcmWrapKeyEncryptionAlgorithm
public AesGcmWrapKeyEncryptionAlgorithm(String encodedKey,
String keyAlgoJwt)
AesGcmWrapKeyEncryptionAlgorithm
public AesGcmWrapKeyEncryptionAlgorithm(byte[] keyBytes,
String keyAlgoJwt)
AesGcmWrapKeyEncryptionAlgorithm
public AesGcmWrapKeyEncryptionAlgorithm(SecretKey key,
String keyAlgoJwt)
getEncryptedContentEncryptionKey
public byte[] getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek)
- Specified by:
getEncryptedContentEncryptionKey in interface KeyEncryptionAlgorithm- Overrides:
getEncryptedContentEncryptionKey in class AbstractWrapKeyEncryptionAlgorithm
getAlgorithmParameterSpec
protected AlgorithmParameterSpec getAlgorithmParameterSpec(JweHeaders headers)
- Overrides:
getAlgorithmParameterSpec in class AbstractWrapKeyEncryptionAlgorithm
Apache CXF