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:
    [email protected]
    • Method Detail

      • 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.