public interface CMSOutputConnector
CMSOutputConnector is used in place of a CMSOutputStream when constructing nested CMS objects.
A CMSOutputConnector should be created for the enclosing object, and passed to a CMSOutputStream or CMSOutputConnector for the enclosed object.
A CMSOutputConnector writes the Content field of the CMS ContentInfo structure to the underlying output stream minus the the explicit [0] tag wrapper.
If you need to write the complete CMS ContentInfo structure to the underlying output stream, use the CMSOutputStream instead.
CMSOutputStream| Modifier and Type | Method and Description |
|---|---|
ASN1ObjectID |
getExposedContentType()
Returns the content type of the data that is output to the underlying output stream.
|
java.io.OutputStream |
getOutputStream()
Returns the output stream governed by this connector.
|
ASN1ObjectID getExposedContentType()
java.io.OutputStream getOutputStream()