Package org.apache.ws.secpolicy.model
Class SignedEncryptedParts
java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.SignedEncryptedParts
- All Implemented Interfaces:
org.apache.neethi.Assertion
,org.apache.neethi.PolicyComponent
-
Field Summary
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getName()
boolean
boolean
isBody()
boolean
boolean
org.apache.neethi.PolicyComponent
void
serialize
(XMLStreamWriter writer) void
setAttachments
(boolean attachments) void
setBody
(boolean body) void
setSignAllHeaders
(boolean signAllHeaders) Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, getVersion, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
-
Constructor Details
-
SignedEncryptedParts
public SignedEncryptedParts(boolean signedParts, int version)
-
-
Method Details
-
isSignAllHeaders
public boolean isSignAllHeaders() -
setSignAllHeaders
public void setSignAllHeaders(boolean signAllHeaders) -
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
- Returns:
- Returns the headers.
-
addHeader
- Parameters:
header
- The header to set.
-
isSignedParts
public boolean isSignedParts()- Returns:
- Returns the signedParts.
-
getName
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalize
in interfaceorg.apache.neethi.Assertion
- Overrides:
normalize
in classAbstractSecurityAssertion
-
serialize
- Throws:
XMLStreamException
-