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
-
Field Summary
Fields inherited from class org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
LOG -
Constructor Summary
ConstructorsConstructorDescriptionRSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey) RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey, KeyAlgorithm supportedAlgo) RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey, KeyAlgorithm supportedAlgo, boolean unwrap) -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected voidvalidateKeyEncryptionAlgorithm(String keyAlgo) Methods inherited from class org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
getAlgorithm, getAlgorithmParameterSpec, getCekDecryptionKey, getContentEncryptionAlgorithm, getDecryptedContentEncryptionKey, getEncryptedContentEncryptionKey, getKeyEncryptionAlgorithm, reportInvalidKeyAlgorithm
-
Constructor Details
-
RSAKeyDecryptionAlgorithm
-
RSAKeyDecryptionAlgorithm
-
RSAKeyDecryptionAlgorithm
public RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey, KeyAlgorithm supportedAlgo, boolean unwrap)
-
-
Method Details
-
getKeyCipherBlockSize
protected int getKeyCipherBlockSize()- Overrides:
getKeyCipherBlockSizein classWrappedKeyDecryptionAlgorithm
-
validateKeyEncryptionAlgorithm
- Overrides:
validateKeyEncryptionAlgorithmin classWrappedKeyDecryptionAlgorithm
-