Package org.apache.ws.secpolicy.model
Class EncryptionToken
java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.EncryptionToken
- All Implemented Interfaces:
org.apache.neethi.Assertion
,org.apache.neethi.PolicyComponent
,TokenWrapper
-
Field Summary
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
void
serialize
(XMLStreamWriter writer) void
setEncryptionToken
(Token encryptionToken) void
Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, getVersion, isIgnorable, isNormalized, isOptional, normalize, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
-
Constructor Details
-
EncryptionToken
public EncryptionToken(int version)
-
-
Method Details
-
getEncryptionToken
- Returns:
- Returns the encryptionToken.
-
setEncryptionToken
- Parameters:
encryptionToken
- The encryptionToken to set.
-
setToken
- Specified by:
setToken
in interfaceTokenWrapper
-
getName
- Specified by:
getName
in interfaceorg.apache.neethi.Assertion
-
serialize
- Specified by:
serialize
in interfaceorg.apache.neethi.Assertion
- Specified by:
serialize
in interfaceorg.apache.neethi.PolicyComponent
- Throws:
XMLStreamException
-