Interface EncryptedParts

All Superinterfaces:
Target
All Known Implementing Classes:
EncryptedParts

public interface EncryptedParts extends Target
Identifies targets that if present in the message should be confidentiality protected.

   <xmp>
      <sp:EncryptedParts ... >
          <sp:Body/>?
          <sp:Header Name="xs:NCName"? Namespace="xs:anyURI" ... />*
              ...
      </sp:EncryptedParts>
    </xmp>
   
Author:
K.Venugopal@sun.com
  • Field Summary

    Fields inherited from interface com.sun.xml.ws.security.policy.Target

    SOAP_BODY
  • Method Summary

    Modifier and Type
    Method
    Description
    returns list of SOAP Headers that need to protected.
    boolean
     
    boolean
     
    void
    removes SOAP Body from the list of targets to be confidentiality protected.
  • Method Details

    • hasBody

      boolean hasBody()
      Returns:
      true if the body is part of the target list.
    • hasAttachments

      boolean hasAttachments()
      Returns:
      true if attachments are part of the target list.
    • getTargets

      Iterator getTargets()
      returns list of SOAP Headers that need to protected.
      Returns:
      Iterator over the list of SOAP Headers
    • removeBody

      void removeBody()
      removes SOAP Body from the list of targets to be confidentiality protected.