org.apache.wss4j.policy.model
Class SignedParts

java.lang.Object
  extended by org.apache.wss4j.policy.model.AbstractSecurityAssertion
      extended by org.apache.wss4j.policy.model.RequiredParts
          extended by org.apache.wss4j.policy.model.SignedParts
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent
Direct Known Subclasses:
EncryptedParts

public class SignedParts
extends RequiredParts


Constructor Summary
SignedParts(SPConstants.SPVersion version, boolean body, Attachments attachments, List<Header> headers, boolean signAllHeaders)
           
 
Method Summary
protected  AbstractSecurityAssertion cloneAssertion(org.apache.neethi.Policy nestedPolicy)
           
 Attachments getAttachments()
           
 QName getName()
           
 boolean isBody()
           
 boolean isSignAllHeaders()
           
 void serialize(XMLStreamWriter writer)
           
protected  void setAttachments(Attachments attachments)
           
protected  void setBody(boolean body)
           
protected  void setSignAllHeaders(boolean signAllHeaders)
           
 
Methods inherited from class org.apache.wss4j.policy.model.RequiredParts
addHeader, getHeaders
 
Methods inherited from class org.apache.wss4j.policy.model.AbstractSecurityAssertion
clone, equal, getType, getVersion, isAsserted, isIgnorable, isNormalized, isOptional, normalize, normalize, serialize, setIgnorable, setOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignedParts

public SignedParts(SPConstants.SPVersion version,
                   boolean body,
                   Attachments attachments,
                   List<Header> headers,
                   boolean signAllHeaders)
Method Detail

getName

public QName getName()
Specified by:
getName in interface org.apache.neethi.Assertion
Overrides:
getName in class RequiredParts

serialize

public void serialize(XMLStreamWriter writer)
               throws XMLStreamException
Specified by:
serialize in interface org.apache.neethi.Assertion
Specified by:
serialize in interface org.apache.neethi.PolicyComponent
Overrides:
serialize in class RequiredParts
Throws:
XMLStreamException

cloneAssertion

protected AbstractSecurityAssertion cloneAssertion(org.apache.neethi.Policy nestedPolicy)
Overrides:
cloneAssertion in class RequiredParts

isBody

public boolean isBody()

setBody

protected void setBody(boolean body)

getAttachments

public Attachments getAttachments()

setAttachments

protected void setAttachments(Attachments attachments)

isSignAllHeaders

public boolean isSignAllHeaders()

setSignAllHeaders

protected void setSignAllHeaders(boolean signAllHeaders)


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.