public class AesGcmWrapKeyEncryptionAlgorithm extends AbstractWrapKeyEncryptionAlgorithm
| Constructor and Description |
|---|
AesGcmWrapKeyEncryptionAlgorithm(byte[] keyBytes,
String keyAlgoJwt) |
AesGcmWrapKeyEncryptionAlgorithm(SecretKey key,
String keyAlgoJwt) |
AesGcmWrapKeyEncryptionAlgorithm(String encodedKey,
String 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, String keyAlgoJwt)
public AesGcmWrapKeyEncryptionAlgorithm(byte[] keyBytes,
String keyAlgoJwt)
public byte[] getEncryptedContentEncryptionKey(JweHeaders headers, byte[] cek)
getEncryptedContentEncryptionKey in interface KeyEncryptionAlgorithmgetEncryptedContentEncryptionKey in class AbstractWrapKeyEncryptionAlgorithmprotected AlgorithmParameterSpec getAlgorithmParameterSpec(JweHeaders headers)
getAlgorithmParameterSpec in class AbstractWrapKeyEncryptionAlgorithmApache CXF