org.apache.ws.secpolicy.model
Class SignedEncryptedParts

java.lang.Object
  extended by org.apache.ws.secpolicy.model.AbstractSecurityAssertion
      extended by org.apache.ws.secpolicy.model.SignedEncryptedParts
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class SignedEncryptedParts
extends AbstractSecurityAssertion


Field Summary
 
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
 
Constructor Summary
SignedEncryptedParts(boolean signedParts, int version)
           
 
Method Summary
 void addHeader(Header header)
           
 java.util.ArrayList getHeaders()
           
 javax.xml.namespace.QName getName()
           
 boolean isAttachments()
           
 boolean isBody()
           
 boolean isSignAllHeaders()
           
 boolean isSignedParts()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(javax.xml.stream.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignedEncryptedParts

public SignedEncryptedParts(boolean signedParts,
                            int version)
Method Detail

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

public java.util.ArrayList 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.

getName

public javax.xml.namespace.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


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.