Package com.sun.xml.ws.security.policy
Interface AsymmetricBinding
- All Superinterfaces:
Binding
- All Known Implementing Classes:
AsymmetricBinding
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
-
Field Summary
Fields inherited from interface com.sun.xml.ws.security.policy.Binding
ENCRYPT_SIGN, SIGN_ENCRYPT -
Method Summary
Modifier and TypeMethodDescriptionreturns Initiator tokenreturns Initiator tokenreturns Initiator tokenreturns Recipient tokenreturns Recipient tokenreturns Recipient tokenMethods inherited from interface com.sun.xml.ws.security.policy.Binding
getAlgorithmSuite, getLayout, getProtectionOrder, getSecurityPolicyVersion, getSignatureProtection, getTokenProtection, isDisableTimestampSigning, isIncludeTimeStamp, isSignContent
-
Method Details
-
getRecipientToken
Token getRecipientToken()returns Recipient token- Returns:
X509Token
-
getRecipientSignatureToken
Token getRecipientSignatureToken()returns Recipient token- Returns:
X509Token
-
getRecipientEncryptionToken
Token getRecipientEncryptionToken()returns Recipient token- Returns:
X509Token
-
getInitiatorToken
Token getInitiatorToken()returns Initiator token- Returns:
X509Token
-
getInitiatorSignatureToken
Token getInitiatorSignatureToken()returns Initiator token- Returns:
X509Token
-
getInitiatorEncryptionToken
Token getInitiatorEncryptionToken()returns Initiator token- Returns:
X509Token
-