Package org.apache.ws.secpolicy.model
Class SymmetricBinding
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.SymmetricBinding
- 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
setEncryptionToken
(EncryptionToken encryptionToken) void
setProtectionToken
(ProtectionToken protectionToken) void
setSignatureToken
(SignatureToken signatureToken) 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
-
SymmetricBinding
public SymmetricBinding(int version)
-
-
Method Details
-
getEncryptionToken
- Returns:
- Returns the encryptionToken.
-
setEncryptionToken
- Parameters:
encryptionToken
- The encryptionToken to set.- Throws:
WSSPolicyException
- If an error occurred setting the EncryptionToken
-
getProtectionToken
- Returns:
- Returns the protectionToken.
-
setProtectionToken
- Parameters:
protectionToken
- The protectionToken to set.- Throws:
WSSPolicyException
- If an error occurred setting the ProtectionToken
-
getSignatureToken
- Returns:
- Returns the signatureToken.
-
setSignatureToken
- Parameters:
signatureToken
- The signatureToken to set.- Throws:
WSSPolicyException
- If an error occurred getting the SignatureToken
-
getName
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalize
in interfaceorg.apache.neethi.Assertion
- Overrides:
normalize
in classAbstractSecurityAssertion
-
serialize
- Throws:
XMLStreamException
-