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


Constructor Summary
RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey)
           
RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey, String supportedAlgo)
           
RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey, String 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
 
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,
                                 String supportedAlgo)

RSAKeyDecryptionAlgorithm

public RSAKeyDecryptionAlgorithm(RSAPrivateKey privateKey,
                                 String 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