public class AesGcmWrapKeyEncryptionAlgorithm extends AbstractWrapKeyEncryptionAlgorithm
LOG
Constructor and Description |
---|
AesGcmWrapKeyEncryptionAlgorithm(byte[] keyBytes,
KeyAlgorithm keyAlgoJwt) |
AesGcmWrapKeyEncryptionAlgorithm(SecretKey key,
KeyAlgorithm keyAlgoJwt) |
AesGcmWrapKeyEncryptionAlgorithm(String encodedKey,
KeyAlgorithm keyAlgoJwt) |
Modifier and Type | Method and Description |
---|---|
protected AlgorithmParameterSpec |
getAlgorithmParameterSpec(JweHeaders headers) |
byte[] |
getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek) |
checkAlgorithm, checkAlgorithms, getAlgorithm, getContentEncryptionAlgoJava, getKeyEncryptionAlgoJava
public AesGcmWrapKeyEncryptionAlgorithm(String encodedKey, KeyAlgorithm keyAlgoJwt)
public AesGcmWrapKeyEncryptionAlgorithm(byte[] keyBytes, KeyAlgorithm keyAlgoJwt)
public AesGcmWrapKeyEncryptionAlgorithm(SecretKey key, KeyAlgorithm keyAlgoJwt)
public byte[] getEncryptedContentEncryptionKey(JweHeaders headers, byte[] cek)
getEncryptedContentEncryptionKey
in interface KeyEncryptionProvider
getEncryptedContentEncryptionKey
in class AbstractWrapKeyEncryptionAlgorithm
protected AlgorithmParameterSpec getAlgorithmParameterSpec(JweHeaders headers)
getAlgorithmParameterSpec
in class AbstractWrapKeyEncryptionAlgorithm
Apache CXF