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

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

public class RSAOaepKeyDecryptionAlgorithm
extends WrappedKeyDecryptionAlgorithm


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

RSAOaepKeyDecryptionAlgorithm

public RSAOaepKeyDecryptionAlgorithm(RSAPrivateKey privateKey)

RSAOaepKeyDecryptionAlgorithm

public RSAOaepKeyDecryptionAlgorithm(RSAPrivateKey privateKey,
                                     String supportedAlgo)

RSAOaepKeyDecryptionAlgorithm

public RSAOaepKeyDecryptionAlgorithm(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