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

AsymmetricBinding

public interface AsymmetricBinding implements Binding
Represents Asymmetric Token information to be used for Signature and Encryption by the client and the service. If the message pattern requires multiple messages, this binding defines that the Initiator Token is used for the message signature from initiator to the recipient, and for encryption from recipient to initiator. The Recipient Token is used for encryption from initiator to recipient, and for the message signature from recipient to initiator. This interface represents normalized AsymmetricBinding security policy assertion as shown below.

<sp:AsymmetricBinding ... >
<wsp:Policy>
<sp:InitiatorToken>
<wsp:Policy> ... </wsp:Policy>
</sp:InitiatorToken>
<sp:RecipientToken>
<wsp:Policy> ... </wsp:Policy>
</sp:RecipientToken>
<sp:AlgorithmSuite ... >
...
</sp:AlgorithmSuite>
<sp:Layout ... > ... </sp:Layout> ?
<sp:IncludeTimestamp ... /> ?
<sp:EncryptBeforeSigning ... /> ?
<sp:EncryptSignature ... /> ?
<sp:ProtectTokens ... /> ?
<sp:OnlySignEntireHeadersAndBody ... /> ?
...
</wsp:Policy>
...
</sp:AsymmetricBinding>

author
K.Venugopal@sun.com

Fields Summary
Constructors Summary
Methods Summary
public TokengetInitiatorToken()
returns Initiator token

return
{@link X509Token}

public TokengetRecipientToken()
returns Recipient token

return
{@link X509Token}