Class AesWrapKeyDecryptionAlgorithm
- java.lang.Object
-
- org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
-
- org.apache.cxf.rs.security.jose.jwe.AesWrapKeyDecryptionAlgorithm
-
- All Implemented Interfaces:
KeyDecryptionProvider
public class AesWrapKeyDecryptionAlgorithm extends WrappedKeyDecryptionAlgorithm
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
LOG
-
-
Constructor Summary
Constructors Constructor Description AesWrapKeyDecryptionAlgorithm(byte[] secretKey)AesWrapKeyDecryptionAlgorithm(byte[] secretKey, KeyAlgorithm supportedAlgo)AesWrapKeyDecryptionAlgorithm(String encodedKey)AesWrapKeyDecryptionAlgorithm(String encodedKey, KeyAlgorithm supportedAlgo)AesWrapKeyDecryptionAlgorithm(SecretKey secretKey)AesWrapKeyDecryptionAlgorithm(SecretKey secretKey, KeyAlgorithm supportedAlgo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisValidAlgorithmFamily(String keyAlgo)protected voidvalidateKeyEncryptionAlgorithm(String keyAlgo)-
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
getAlgorithm, getAlgorithmParameterSpec, getCekDecryptionKey, getContentEncryptionAlgorithm, getDecryptedContentEncryptionKey, getEncryptedContentEncryptionKey, getKeyCipherBlockSize, getKeyEncryptionAlgorithm, reportInvalidKeyAlgorithm
-
-
-
-
Constructor Detail
-
AesWrapKeyDecryptionAlgorithm
public AesWrapKeyDecryptionAlgorithm(String encodedKey)
-
AesWrapKeyDecryptionAlgorithm
public AesWrapKeyDecryptionAlgorithm(String encodedKey, KeyAlgorithm supportedAlgo)
-
AesWrapKeyDecryptionAlgorithm
public AesWrapKeyDecryptionAlgorithm(byte[] secretKey)
-
AesWrapKeyDecryptionAlgorithm
public AesWrapKeyDecryptionAlgorithm(byte[] secretKey, KeyAlgorithm supportedAlgo)
-
AesWrapKeyDecryptionAlgorithm
public AesWrapKeyDecryptionAlgorithm(SecretKey secretKey)
-
AesWrapKeyDecryptionAlgorithm
public AesWrapKeyDecryptionAlgorithm(SecretKey secretKey, KeyAlgorithm supportedAlgo)
-
-
Method Detail
-
validateKeyEncryptionAlgorithm
protected void validateKeyEncryptionAlgorithm(String keyAlgo)
- Overrides:
validateKeyEncryptionAlgorithmin classWrappedKeyDecryptionAlgorithm
-
isValidAlgorithmFamily
protected boolean isValidAlgorithmFamily(String keyAlgo)
-
-