Package com.sun.xml.ws.security.policy
Interface Binding
-
- All Known Subinterfaces:
AsymmetricBinding,SymmetricBinding,TransportBinding
- All Known Implementing Classes:
AsymmetricBinding,SymmetricBinding,TransportBinding
public interface BindingBase Interface for Security Policy Binding assertions, identifies Algorithms that are supported,describes the layout of the security header.- Author:
- K.Venugopal@sun.com
-
-
Field Summary
Fields Modifier and Type Field Description static StringENCRYPT_SIGNstatic StringSIGN_ENCRYPT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AlgorithmSuitegetAlgorithmSuite()returns theAlgorithmSuiteassertions defined in the policy.MessageLayoutgetLayout()returns the LayoutMessageLayoutof the SecurityHeader.StringgetProtectionOrder()gets data protection order should be one one of Binding.SIGN_ENCRYPT or Binding.ENCRYPT_SIGNSecurityPolicyVersiongetSecurityPolicyVersion()booleangetSignatureProtection()booleangetTokenProtection()booleanisDisableTimestampSigning()booleanisIncludeTimeStamp()returns true if TimeStamp property is enabled in this bindingbooleanisSignContent()returns true if body and header content only has to be signed, false if entire body and header has to be signed.
-
-
-
Field Detail
-
ENCRYPT_SIGN
static final String ENCRYPT_SIGN
- See Also:
- Constant Field Values
-
SIGN_ENCRYPT
static final String SIGN_ENCRYPT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAlgorithmSuite
AlgorithmSuite getAlgorithmSuite()
returns theAlgorithmSuiteassertions defined in the policy.- Returns:
AlgorithmSuite
-
isIncludeTimeStamp
boolean isIncludeTimeStamp()
returns true if TimeStamp property is enabled in this binding- Returns:
- true or false
-
isDisableTimestampSigning
boolean isDisableTimestampSigning()
-
getLayout
MessageLayout getLayout()
returns the LayoutMessageLayoutof the SecurityHeader.- Returns:
- one of
MessageLayout
-
isSignContent
boolean isSignContent()
returns true if body and header content only has to be signed, false if entire body and header has to be signed.- Returns:
- true if body and header content only has to be signed, false if entire body and header has to be signed.
-
getProtectionOrder
String getProtectionOrder()
gets data protection order should be one one of Binding.SIGN_ENCRYPT or Binding.ENCRYPT_SIGN- Returns:
- one of Binding.SIGN_ENCRYPT or Binding.ENCRYPT_SIGN
-
getTokenProtection
boolean getTokenProtection()
- Returns:
- true if token has to be protected else false.
-
getSignatureProtection
boolean getSignatureProtection()
- Returns:
- true if signature has to be encrypted else false.
-
getSecurityPolicyVersion
SecurityPolicyVersion getSecurityPolicyVersion()
- Returns:
- the version of Security Policy
-
-