Interface AsymmetricBinding

All Superinterfaces:
Binding
All Known Implementing Classes:
AsymmetricBinding

public interface AsymmetricBinding extends 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.

  <xmp>
      <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>

  </xmp>
 
Author:
K.Venugopal@sun.com
  • Method Details

    • getRecipientToken

      com.sun.xml.ws.security.policy.Token getRecipientToken()
      returns Recipient token
      Returns:
      X509Token
    • getRecipientSignatureToken

      com.sun.xml.ws.security.policy.Token getRecipientSignatureToken()
      returns Recipient token
      Returns:
      X509Token
    • getRecipientEncryptionToken

      com.sun.xml.ws.security.policy.Token getRecipientEncryptionToken()
      returns Recipient token
      Returns:
      X509Token
    • getInitiatorToken

      com.sun.xml.ws.security.policy.Token getInitiatorToken()
      returns Initiator token
      Returns:
      X509Token
    • getInitiatorSignatureToken

      com.sun.xml.ws.security.policy.Token getInitiatorSignatureToken()
      returns Initiator token
      Returns:
      X509Token
    • getInitiatorEncryptionToken

      com.sun.xml.ws.security.policy.Token getInitiatorEncryptionToken()
      returns Initiator token
      Returns:
      X509Token