Class EncryptedSignedMessageHeader
java.lang.Object
com.sun.xml.ws.security.opt.impl.dsig.SignedMessagePart
com.sun.xml.ws.security.opt.impl.dsig.SignedMessageHeader
com.sun.xml.ws.security.opt.impl.message.EncryptedSignedMessageHeader
- All Implemented Interfaces:
SecurityElement,SecurityElementWriter,SecurityHeaderElement,SignedData
- Author:
- Ashutosh.Shahi@sun.com
-
Field Summary
Fields inherited from class com.sun.xml.ws.security.opt.impl.dsig.SignedMessagePart
isCanonicalized -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of EncryptedSignedMessageHeader -
Method Summary
Modifier and TypeMethodDescriptionprotected voidparse()Reads the header as aXMLStreamReader.voidwriteTo(XMLStreamWriter streamWriter) Write the header to an XMLStreamWritervoidwriteTo(XMLStreamWriter streamWriter, HashMap props) Write the header to an XMLStreamWriterMethods inherited from class com.sun.xml.ws.security.opt.impl.dsig.SignedMessageHeader
getDigestValue, getId, getLocalPart, getNamespaceURI, getSignedHeader, refersToSecHdrWithId, setDigestValue, setId, writeToMethods inherited from class com.sun.xml.ws.security.opt.impl.dsig.SignedMessagePart
getAttributeValuePrefixes, writeCanonicalized
-
Constructor Details
-
EncryptedSignedMessageHeader
Creates a new instance of EncryptedSignedMessageHeader
-
-
Method Details
-
readHeader
Description copied from interface:SecurityElementReads the header as aXMLStreamReader.The returned parser points at the start element of this header. (IOW,
XMLStreamReader.getEventType()would returnXMLStreamConstants.START_ELEMENT.Performance Expectation
For some Header implementations, this operation is a non-trivial operation. Therefore, use of this method is discouraged unless the caller is interested in reading the whole header.
Similarly, if the caller wants to use this method only to do the API conversion (such as simply firing SAX events from
XMLStreamReader), then the JAX-WS team requests that you talk to us.Messages that come from tranport usually provides a reasonably efficient implementation of this method.
- Specified by:
readHeaderin interfaceSecurityElement- Overrides:
readHeaderin classSignedMessageHeader- Returns:
- The header as as XMLStreamReader
- Throws:
XMLStreamException
-
writeTo
Write the header to an XMLStreamWriter- Specified by:
writeToin interfaceSecurityElementWriter- Overrides:
writeToin classSignedMessageHeader- Throws:
XMLStreamException- if the operation fails for some reason. This leaves the writer to an undefined state.
-
writeTo
Write the header to an XMLStreamWriter- Specified by:
writeToin interfaceSecurityElementWriter- Overrides:
writeToin classSignedMessageHeader- Throws:
XMLStreamException
-
parse
- Throws:
XMLStreamException
-