public class AesGcmWrapKeyDecryptionAlgorithm extends WrappedKeyDecryptionAlgorithm
Constructor and Description |
---|
AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey) |
AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey,
KeyAlgorithm supportedAlgo) |
AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey) |
AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey,
KeyAlgorithm supportedAlgo) |
AesGcmWrapKeyDecryptionAlgorithm(String encodedKey) |
AesGcmWrapKeyDecryptionAlgorithm(String encodedKey,
KeyAlgorithm supportedAlgo) |
Modifier and Type | Method and Description |
---|---|
protected AlgorithmParameterSpec |
getAlgorithmParameterSpec(JweDecryptionInput jweDecryptionInput) |
protected byte[] |
getEncryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput) |
protected void |
validateKeyEncryptionAlgorithm(String keyAlgo) |
getAlgorithm, getCekDecryptionKey, getContentEncryptionAlgorithm, getDecryptedContentEncryptionKey, getKeyCipherBlockSize, getKeyEncryptionAlgorithm, reportInvalidKeyAlgorithm
protected static final Logger LOG
public AesGcmWrapKeyDecryptionAlgorithm(String encodedKey)
public AesGcmWrapKeyDecryptionAlgorithm(String encodedKey, KeyAlgorithm supportedAlgo)
public AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey)
public AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey, KeyAlgorithm supportedAlgo)
public AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey)
public AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey, KeyAlgorithm supportedAlgo)
protected byte[] getEncryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput)
getEncryptedContentEncryptionKey
in class WrappedKeyDecryptionAlgorithm
protected AlgorithmParameterSpec getAlgorithmParameterSpec(JweDecryptionInput jweDecryptionInput)
getAlgorithmParameterSpec
in class WrappedKeyDecryptionAlgorithm
protected void validateKeyEncryptionAlgorithm(String keyAlgo)
validateKeyEncryptionAlgorithm
in class WrappedKeyDecryptionAlgorithm
Apache CXF