Package com.sun.xml.ws.security.policy
Interface EncryptedParts
- All Superinterfaces:
Target
- All Known Implementing Classes:
EncryptedParts
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
-
Method Summary
Modifier and TypeMethodDescriptionreturns list of SOAP Headers that need to protected.booleanbooleanhasBody()voidremoves 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:
Iteratorover the list of SOAP Headers
-
removeBody
void removeBody()removes SOAP Body from the list of targets to be confidentiality protected.
-