Class CipherDataProcessor
- java.lang.Object
-
- com.sun.xml.ws.security.opt.impl.incoming.processor.CipherDataProcessor
-
public class CipherDataProcessor extends Object
- Author:
- K.Venugopal@sun.com
-
-
Constructor Summary
Constructors Constructor Description CipherDataProcessor(JAXBFilterProcessingContext pc)Creates a new instance of CipherDataProcessor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttachmentContentId()StringgetAttachmentContentType()booleanhasCipherReference()voidprocess(XMLStreamReader reader)processes the cipher data and sets the cipher valuebyte[]readAsBytes()InputStreamreadAsStream()
-
-
-
Constructor Detail
-
CipherDataProcessor
public CipherDataProcessor(JAXBFilterProcessingContext pc)
Creates a new instance of CipherDataProcessor
-
-
Method Detail
-
process
public void process(XMLStreamReader reader) throws com.sun.xml.wss.XWSSecurityException
processes the cipher data and sets the cipher value- Parameters:
reader- XMLStreamReader- Throws:
com.sun.xml.wss.XWSSecurityException
-
readAsStream
public InputStream readAsStream() throws com.sun.xml.wss.XWSSecurityException
- Returns:
- InputStream
- Throws:
com.sun.xml.wss.XWSSecurityException
-
readAsBytes
public byte[] readAsBytes() throws com.sun.xml.wss.XWSSecurityException- Returns:
- byte[] cipherValue
- Throws:
com.sun.xml.wss.XWSSecurityException
-
hasCipherReference
public boolean hasCipherReference()
-
getAttachmentContentId
public String getAttachmentContentId()
-
getAttachmentContentType
public String getAttachmentContentType()
-
-