public class XmlSecOutInterceptor extends AbstractPhaseInterceptor<Message>
Modifier and Type | Field and Description |
---|---|
static String |
OUTPUT_STREAM_HOLDER |
Constructor and Description |
---|
XmlSecOutInterceptor() |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
public static final String OUTPUT_STREAM_HOLDER
public void handleMessage(Message message) throws Fault
Interceptor
Fault
public void setEncryptionProperties(EncryptionProperties properties)
public void setEncryptionKeyIdentifierType(String type)
public void setSymmetricEncAlgorithm(String algo)
public void setKeyEncAlgorithm(String algo)
public void setEncryptionDigestAlgorithm(String algo)
public void setKeyInfoMustBeAvailable(boolean use)
public void setSignatureProperties(SignatureProperties props)
public void setSignatureAlgorithm(String algo)
public void setSignatureDigestAlgorithm(String algo)
public void setSignatureKeyIdentifierType(String type)
public final org.apache.cxf.rs.security.xml.XmlSecOutInterceptor.XmlSecStaxOutInterceptorInternal createEndingInterceptor()
public boolean isSignRequest()
public void setSignRequest(boolean signRequest)
public boolean isEncryptRequest()
public void setEncryptRequest(boolean encryptRequest)
public void addElementToEncrypt(QName elementToEncrypt)
public void addElementToSign(QName elementToSign)
public boolean isEncryptSymmetricKey()
public void setEncryptSymmetricKey(boolean encryptSymmetricKey)
public SecretKey getSymmetricKey()
public void setSymmetricKey(SecretKey symmetricKey)
Apache CXF