org.apache.cxf.rs.security.xml
Class AbstractXmlEncInHandler
java.lang.Object
org.apache.cxf.rs.security.xml.AbstractXmlSecInHandler
org.apache.cxf.rs.security.xml.AbstractXmlEncInHandler
- Direct Known Subclasses:
- XmlEncInHandler, XmlEncInInterceptor
public abstract class AbstractXmlEncInHandler
- extends AbstractXmlSecInHandler
Method Summary |
void |
decryptContent(Message message)
|
protected byte[] |
decryptPayload(Element root,
byte[] secretKeyBytes,
String symEncAlgo)
|
protected byte[] |
decryptSymmetricKey(String base64EncodedKey,
X509Certificate cert,
org.apache.wss4j.common.crypto.Crypto crypto,
String keyEncAlgo,
Message message)
|
protected byte[] |
decryptSymmetricKey(String base64EncodedKey,
X509Certificate cert,
org.apache.wss4j.common.crypto.Crypto crypto,
String keyEncAlgo,
String digestAlgo,
Message message)
|
protected byte[] |
getSymmetricKeyBytes(Message message,
Element encDataElement)
|
void |
setEncryptionProperties(EncryptionProperties properties)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractXmlEncInHandler
public AbstractXmlEncInHandler()
decryptContent
public void decryptContent(Message message)
getSymmetricKeyBytes
protected byte[] getSymmetricKeyBytes(Message message,
Element encDataElement)
decryptSymmetricKey
protected byte[] decryptSymmetricKey(String base64EncodedKey,
X509Certificate cert,
org.apache.wss4j.common.crypto.Crypto crypto,
String keyEncAlgo,
Message message)
throws org.apache.wss4j.common.ext.WSSecurityException
- Throws:
org.apache.wss4j.common.ext.WSSecurityException
decryptSymmetricKey
protected byte[] decryptSymmetricKey(String base64EncodedKey,
X509Certificate cert,
org.apache.wss4j.common.crypto.Crypto crypto,
String keyEncAlgo,
String digestAlgo,
Message message)
throws org.apache.wss4j.common.ext.WSSecurityException
- Throws:
org.apache.wss4j.common.ext.WSSecurityException
decryptPayload
protected byte[] decryptPayload(Element root,
byte[] secretKeyBytes,
String symEncAlgo)
throws org.apache.wss4j.common.ext.WSSecurityException
- Throws:
org.apache.wss4j.common.ext.WSSecurityException
setEncryptionProperties
public void setEncryptionProperties(EncryptionProperties properties)
Apache CXF