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, getKeyEncryptionAlgoJavapublic 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 KeyEncryptionProvidergetEncryptedContentEncryptionKey in class AbstractWrapKeyEncryptionAlgorithmprotected AlgorithmParameterSpec getAlgorithmParameterSpec(JweHeaders headers)
getAlgorithmParameterSpec in class AbstractWrapKeyEncryptionAlgorithmApache CXF