com.sun.xml.ws.security.opt.api
Interface SecurityElementWriter

All Known Implementing Classes:
BinarySecurityToken, DerivedKey, DerivedKeyToken, DirectReference, EncryptedData, EncryptedHeader, EncryptedHeader, EncryptedKey, EncryptedSignedMessageHeader, EnvelopedSignedMessageHeader, GSHeaderElement, JAXBEncryptedData, JAXBEncryptedKey, JAXBSignatureHeaderElement, KerberosBinarySecurityToken, KeyIdentifier, ReferenceListHeader, SAMLAssertion, SAMLToken, SecurityContextToken, SecurityContextToken, SecurityContextToken13, SecurityTokenReference, Signature, SignatureConfirmation, SignatureConfirmation, SignedMessageHeader, SignedMessagePart, Timestamp, TimestampHeader, UsernameToken, UsernameTokenHeader, X509BinarySecurityToken, X509Data, X509IssuerSerial

public interface SecurityElementWriter

Author:
Ashutosh.Shahi@sun.com

Method Summary
 void writeTo(OutputStream os)
           
 void writeTo(XMLStreamWriter streamWriter)
          Writes out the header.
 void writeTo(XMLStreamWriter streamWriter, HashMap props)
           
 

Method Detail

writeTo

void writeTo(XMLStreamWriter streamWriter)
             throws XMLStreamException
Writes out the header.

Throws:
XMLStreamException - if the operation fails for some reason. This leaves the writer to an undefined state.

writeTo

void writeTo(XMLStreamWriter streamWriter,
             HashMap props)
             throws XMLStreamException
Parameters:
streamWriter -
props -
Throws:
XMLStreamException

writeTo

void writeTo(OutputStream os)
Parameters:
os -


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.