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

public class SignedEncryptedParts extends AbstractSecurityAssertion
  • 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

      public ArrayList<Header> getHeaders()
      Returns:
      Returns the headers.
    • addHeader

      public void addHeader(Header header)
      Parameters:
      header - The header to set.
    • isSignedParts

      public boolean isSignedParts()
      Returns:
      Returns the signedParts.
    • 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(XMLStreamWriter writer) throws XMLStreamException
      Throws:
      XMLStreamException