com.sun.xml.ws.security.policy
Interface SignedParts

All Superinterfaces:
Target
All Known Implementing Classes:
SignedParts

public interface SignedParts
extends Target

This interface identifies targets in the message that need to be integrity protected. The targets if present should be integrity protected.

Syntax:


       <sp:SignedParts ... >
            <sp:Body />?
            <sp:Header Name="xs:NCName"? Namespace="xs:anyURI" ... />*
                  ...
       </sp:SignedParts>
  


Field Summary
 
Fields inherited from interface com.sun.xml.ws.security.policy.Target
SOAP_BODY
 
Method Summary
 java.lang.String attachmentProtectionType()
           
 java.util.Iterator getHeaders()
          Iterator over list of Headers that identify targets in the SOAP header to be integrity protected.
 boolean hasAttachments()
           
 boolean hasBody()
           
 

Method Detail

hasBody

boolean hasBody()
Returns:
true if the body is to be integrity protected.

hasAttachments

boolean hasAttachments()
Returns:
true if the attachments are to be integrity protected

attachmentProtectionType

java.lang.String attachmentProtectionType()
Returns:
the URI of transform to be applied on attachment, the default is Attachment-Complete-Transform

getHeaders

java.util.Iterator getHeaders()
Iterator over list of Headers that identify targets in the SOAP header to be integrity protected.

Returns:
Iterator