Package org.apache.ws.secpolicy.model
Class AsymmetricBinding
java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.Binding
org.apache.ws.secpolicy.model.SymmetricAsymmetricBindingBase
org.apache.ws.secpolicy.model.AsymmetricBinding
- All Implemented Interfaces:
org.apache.neethi.Assertion
,org.apache.neethi.PolicyComponent
,AlgorithmWrapper
-
Field Summary
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
org.apache.neethi.PolicyComponent
void
serialize
(XMLStreamWriter writer) void
setInitiatorToken
(InitiatorToken initiatorToken) void
setRecipientToken
(RecipientToken recipientToken) Methods inherited from class org.apache.ws.secpolicy.model.SymmetricAsymmetricBindingBase
getProtectionOrder, isEntireHeadersAndBodySignatures, isSignatureProtection, isTokenProtection, setEntireHeadersAndBodySignatures, setProtectionOrder, setSignatureProtection, setTokenProtection
Methods inherited from class org.apache.ws.secpolicy.model.Binding
getAlgorithmSuite, getLayout, getSignedEndorsingSupportingTokens, getSignedSupportingToken, isIncludeTimestamp, isIncludeTimestampOptional, setAlgorithmSuite, setIncludeTimestamp, setIncludeTimestampOptional, setLayout, setSignedEndorsingSupportingTokens, setSignedSupportingToken
Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, getVersion, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
-
Constructor Details
-
AsymmetricBinding
public AsymmetricBinding(int version)
-
-
Method Details
-
getInitiatorToken
- Returns:
- Returns the initiatorToken.
-
setInitiatorToken
- Parameters:
initiatorToken
- The initiatorToken to set.
-
getRecipientToken
- Returns:
- Returns the recipientToken.
-
setRecipientToken
- Parameters:
recipientToken
- The recipientToken to set.
-
getName
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalize
in interfaceorg.apache.neethi.Assertion
- Overrides:
normalize
in classAbstractSecurityAssertion
-
serialize
- Throws:
XMLStreamException
-