Class EncryptedAttachment
java.lang.Object
com.sun.xml.ws.security.opt.impl.attachment.EncryptedAttachment
- All Implemented Interfaces:
com.sun.xml.ws.api.message.Attachment
- Author:
- Ashutosh.Shahi@sun.com
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptedAttachment(com.sun.xml.ws.api.message.Attachment attachment, String dataAlgo, Key key) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]jakarta.activation.DataHandlerasSource()voidwriteTo(jakarta.xml.soap.SOAPMessage saaj) voidwriteTo(OutputStream os)
-
Constructor Details
-
EncryptedAttachment
public EncryptedAttachment(com.sun.xml.ws.api.message.Attachment attachment, String dataAlgo, Key key) throws XWSSecurityException - Throws:
XWSSecurityException
-
-
Method Details
-
getContentId
- Specified by:
getContentIdin interfacecom.sun.xml.ws.api.message.Attachment
-
getContentType
- Specified by:
getContentTypein interfacecom.sun.xml.ws.api.message.Attachment
-
asByteArray
public byte[] asByteArray()- Specified by:
asByteArrayin interfacecom.sun.xml.ws.api.message.Attachment
-
asDataHandler
public jakarta.activation.DataHandler asDataHandler()- Specified by:
asDataHandlerin interfacecom.sun.xml.ws.api.message.Attachment
-
asSource
- Specified by:
asSourcein interfacecom.sun.xml.ws.api.message.Attachment
-
asInputStream
- Specified by:
asInputStreamin interfacecom.sun.xml.ws.api.message.Attachment
-
writeTo
- Specified by:
writeToin interfacecom.sun.xml.ws.api.message.Attachment- Throws:
IOException
-
writeTo
public void writeTo(jakarta.xml.soap.SOAPMessage saaj) throws jakarta.xml.soap.SOAPException - Specified by:
writeToin interfacecom.sun.xml.ws.api.message.Attachment- Throws:
jakarta.xml.soap.SOAPException
-