Package com.sun.xml.ws.security.policy
Interface Binding
- All Known Subinterfaces:
AsymmetricBinding,SymmetricBinding,TransportBinding
- All Known Implementing Classes:
AsymmetricBinding,SymmetricBinding,TransportBinding
public interface Binding
Base 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 -
Method Summary
Modifier and TypeMethodDescriptionreturns theAlgorithmSuiteassertions defined in the policy.returns the LayoutMessageLayoutof the SecurityHeader.gets data protection order should be one one of Binding.SIGN_ENCRYPT or Binding.ENCRYPT_SIGNcom.sun.xml.ws.security.policy.SecurityPolicyVersionbooleanbooleanbooleanbooleanreturns true if TimeStamp property is enabled in this bindingbooleanreturns true if body and header content only has to be signed, false if entire body and header has to be signed.
-
Field Details
-
ENCRYPT_SIGN
- See Also:
-
SIGN_ENCRYPT
- See Also:
-
-
Method Details
-
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
com.sun.xml.ws.security.policy.SecurityPolicyVersion getSecurityPolicyVersion()- Returns:
- the version of Security Policy
-