Class RSAKeyDecryptionAlgorithm
- java.lang.Object
-
- org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
-
- org.apache.cxf.rs.security.jose.jwe.RSAKeyDecryptionAlgorithm
-
- All Implemented Interfaces:
KeyDecryptionProvider
public class RSAKeyDecryptionAlgorithm extends WrappedKeyDecryptionAlgorithm
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
LOG
-
-
Constructor Summary
Constructors Constructor Description RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey)RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey, KeyAlgorithm supportedAlgo)RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey, KeyAlgorithm supportedAlgo, boolean unwrap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetKeyCipherBlockSize()protected voidvalidateKeyEncryptionAlgorithm(String keyAlgo)-
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
getAlgorithm, getAlgorithmParameterSpec, getCekDecryptionKey, getContentEncryptionAlgorithm, getDecryptedContentEncryptionKey, getEncryptedContentEncryptionKey, getKeyEncryptionAlgorithm, reportInvalidKeyAlgorithm
-
-
-
-
Constructor Detail
-
RSAKeyDecryptionAlgorithm
public RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey)
-
RSAKeyDecryptionAlgorithm
public RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey, KeyAlgorithm supportedAlgo)
-
RSAKeyDecryptionAlgorithm
public RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey, KeyAlgorithm supportedAlgo, boolean unwrap)
-
-
Method Detail
-
getKeyCipherBlockSize
protected int getKeyCipherBlockSize()
- Overrides:
getKeyCipherBlockSizein classWrappedKeyDecryptionAlgorithm
-
validateKeyEncryptionAlgorithm
protected void validateKeyEncryptionAlgorithm(String keyAlgo)
- Overrides:
validateKeyEncryptionAlgorithmin classWrappedKeyDecryptionAlgorithm
-
-