org.apache.cxf.rs.security.jose.jwe
Class RSAKeyDecryptionAlgorithm

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
      extended by org.apache.cxf.rs.security.jose.jwe.RSAKeyDecryptionAlgorithm
All Implemented Interfaces:
KeyDecryptionAlgorithm

public class RSAKeyDecryptionAlgorithm
extends WrappedKeyDecryptionAlgorithm


Field Summary
 
Fields inherited from class org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
LOG
 
Constructor Summary
RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey)
           
RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey, KeyAlgorithm supportedAlgo)
           
RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey, KeyAlgorithm supportedAlgo, boolean unwrap)
           
 
Method Summary
protected  int getKeyCipherBlockSize()
           
protected  void validateKeyEncryptionAlgorithm(String keyAlgo)
           
 
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
getAlgorithm, getAlgorithmParameterSpec, getCekDecryptionKey, getContentEncryptionAlgorithm, getDecryptedContentEncryptionKey, getEncryptedContentEncryptionKey, getKeyEncryptionAlgorithm, reportInvalidKeyAlgorithm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
getKeyCipherBlockSize in class WrappedKeyDecryptionAlgorithm

validateKeyEncryptionAlgorithm

protected void validateKeyEncryptionAlgorithm(String keyAlgo)
Overrides:
validateKeyEncryptionAlgorithm in class WrappedKeyDecryptionAlgorithm


Apache CXF