public class EncryptedSignedMessageHeader extends SignedMessageHeader
isCanonicalized| Constructor and Description |
|---|
EncryptedSignedMessageHeader(SignedMessageHeader hdr,
SecurityHeaderElement she)
Creates a new instance of EncryptedSignedMessageHeader
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
parse() |
XMLStreamReader |
readHeader()
Reads the header as a
XMLStreamReader. |
void |
writeTo(XMLStreamWriter streamWriter)
Write the header to an XMLStreamWriter
|
void |
writeTo(XMLStreamWriter streamWriter,
HashMap props)
Write the header to an XMLStreamWriter
|
getDigestValue, getId, getLocalPart, getNamespaceURI, getSignedHeader, refersToSecHdrWithId, setDigestValue, setId, writeTogetAttributeValuePrefixes, writeCanonicalizedpublic EncryptedSignedMessageHeader(SignedMessageHeader hdr, SecurityHeaderElement she)
public XMLStreamReader readHeader() throws XMLStreamException
SecurityElementXMLStreamReader.
The returned parser points at the start element of this header.
(IOW, XMLStreamReader.getEventType() would return
XMLStreamConstants.START_ELEMENT.
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.
readHeader in interface SecurityElementreadHeader in class SignedMessageHeaderXMLStreamExceptionpublic void writeTo(XMLStreamWriter streamWriter) throws XMLStreamException
writeTo in interface SecurityElementWriterwriteTo in class SignedMessageHeaderXMLStreamException - if the operation fails for some reason. This leaves the
writer to an undefined state.public void writeTo(XMLStreamWriter streamWriter, HashMap props) throws XMLStreamException
writeTo in interface SecurityElementWriterwriteTo in class SignedMessageHeaderXMLStreamExceptionprotected void parse()
throws XMLStreamException
XMLStreamExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.