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.ws.security.components.crypto.Crypto crypto,
String keyEncAlgo,
Message message)
|
protected byte[] |
decryptSymmetricKey(String base64EncodedKey,
X509Certificate cert,
org.apache.ws.security.components.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.ws.security.components.crypto.Crypto crypto,
String keyEncAlgo,
Message message)
throws org.apache.ws.security.WSSecurityException
- Throws:
org.apache.ws.security.WSSecurityException
decryptSymmetricKey
protected byte[] decryptSymmetricKey(String base64EncodedKey,
X509Certificate cert,
org.apache.ws.security.components.crypto.Crypto crypto,
String keyEncAlgo,
String digestAlgo,
Message message)
throws org.apache.ws.security.WSSecurityException
- Throws:
org.apache.ws.security.WSSecurityException
decryptPayload
protected byte[] decryptPayload(Element root,
byte[] secretKeyBytes,
String symEncAlgo)
throws org.apache.ws.security.WSSecurityException
- Throws:
org.apache.ws.security.WSSecurityException
setEncryptionProperties
public void setEncryptionProperties(EncryptionProperties properties)
Apache CXF