public abstract class AbstractXmlEncInHandler extends AbstractXmlSecInHandler
ENC_NS, ENC_PREFIX, SIG_NS, SIG_PREFIX, SIGNING_CERT, SIGNING_PUBLIC_KEY, WSU_NS
Constructor and Description |
---|
AbstractXmlEncInHandler() |
Modifier and Type | Method and Description |
---|---|
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) |
getDocument, getNode, isServerGet, setAllowEmptyBody, throwFault
public void decryptContent(Message message)
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
org.apache.wss4j.common.ext.WSSecurityException
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
org.apache.wss4j.common.ext.WSSecurityException
protected byte[] decryptPayload(Element root, byte[] secretKeyBytes, String symEncAlgo) throws org.apache.wss4j.common.ext.WSSecurityException
org.apache.wss4j.common.ext.WSSecurityException
public void setEncryptionProperties(EncryptionProperties properties)
Apache CXF