org.apache.cxf.ws.security.policy.model
Class SignedEncryptedParts
java.lang.Object
org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
org.apache.cxf.ws.security.policy.model.SignedEncryptedParts
- All Implemented Interfaces:
- org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent
public class SignedEncryptedParts
- extends AbstractSecurityAssertion
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignedEncryptedParts
public SignedEncryptedParts(boolean signedParts,
SPConstants version)
SignedEncryptedParts
public SignedEncryptedParts(boolean signedParts)
isBody
public boolean isBody()
- Returns:
- Returns the body.
setBody
public void setBody(boolean body)
- Parameters:
body
- The body to set.
isAttachments
public boolean isAttachments()
- Returns:
- Returns the attachments.
setAttachments
public void setAttachments(boolean attachments)
- Parameters:
attachments
- The attachments to set.
getHeaders
public List<Header> getHeaders()
- Returns:
- Returns the headers.
addHeader
public void addHeader(Header header)
- Parameters:
headers
- The headers to set.
isSignedParts
public boolean isSignedParts()
- Returns:
- Returns the signedParts.
getRealName
public QName getRealName()
getName
public QName getName()
normalize
public org.apache.neethi.PolicyComponent normalize()
- Specified by:
normalize
in interface org.apache.neethi.Assertion
- Overrides:
normalize
in class AbstractSecurityAssertion
serialize
public void serialize(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
Apache CXF