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 Details

  • Method Details

    • getAlgorithmSuite

      AlgorithmSuite getAlgorithmSuite()
      returns the AlgorithmSuite assertions 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 Layout MessageLayoutof 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