Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwriteTo(OutputStream os)voidwriteTo(XMLStreamWriter streamWriter)Writes out the header.voidwriteTo(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-
-
-