FileDocCategorySizeDatePackage
Binding.javaAPI DocExample3764Tue May 29 16:56:50 BST 2007com.sun.xml.ws.security.policy

Binding

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

Fields Summary
public static final String
ENCRYPT_SIGN
public static final String
SIGN_ENCRYPT
Constructors Summary
Methods Summary
public AlgorithmSuitegetAlgorithmSuite()
returns the {@link AlgorithmSuite} assertions defined in the policy.

return
{@link AlgorithmSuite}

public MessageLayoutgetLayout()
returns the Layout {@link MessageLayout }of the SecurityHeader.

return
one of {@link MessageLayout }

public java.lang.StringgetProtectionOrder()
gets data protection order should be one one of Binding.SIGN_ENCRYPT or Binding.ENCRYPT_SIGN

return
one of Binding.SIGN_ENCRYPT or Binding.ENCRYPT_SIGN

public booleangetSignatureProtection()

return
true if signature has to be encrypted else false.

public booleangetTokenProtection()

return
true if token has to be protected else false.

public booleanisIncludeTimeStamp()
returns true if TimeStamp property is enabled in this binding

return
true or false

public booleanisSignContent()
returns true if body and header content only has to be signed, false if entire body and header has to be signed.

return
true if body and header content only has to be signed, false if entire body and header has to be signed.