|
Oracle Security Developer Tools CMS Java API Reference 10g Release 2 (10.1.2.0.2) B15564-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cms.CMSCompressedDataOutputConnector
A CMSCompressedDataOutputConnector
is used in place of a CMSCompressedDataOutputStream
when constructing nested CMS objects containing compressed-data
structures.
A CMSCompressedDataOutputConnector
is essentially an output stream filter that wraps the data written to it within a CMS compressed-data
structure. Only the Content field of the CMS ContentInfo structure minus the the explicit [0] tag wrapper is written to the underlying output stream.
CMSOutputConnector
, CMSCompressedDataOutputStream
Constructor Summary | |
CMSCompressedDataOutputConnector(CMSOutputConnector conn, AlgorithmIdentifier compressionAlgID, ASN1ObjectID contentType) Creates a CMSCompressedDataOutputConnector . |
|
CMSCompressedDataOutputConnector(java.io.OutputStream out, AlgorithmIdentifier compressionAlgID, ASN1ObjectID contentType) Creates a CMSCompressedDataOutputConnector . |
Method Summary | |
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 that is governed by this connector. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CMSCompressedDataOutputConnector(java.io.OutputStream out, AlgorithmIdentifier compressionAlgID, ASN1ObjectID contentType) throws AlgorithmIdentifierException
CMSCompressedDataOutputConnector
.out
- The underlying output stream.compressionAlgID
- The compression algorithm identifier.contentType
- The content type of the enclosing content.AlgorithmIdentifierException
- Compression algorithm is not supported.public CMSCompressedDataOutputConnector(CMSOutputConnector conn, AlgorithmIdentifier compressionAlgID, ASN1ObjectID contentType) throws AlgorithmIdentifierException
CMSCompressedDataOutputConnector
.conn
- The underlying output connector.compressionAlgID
- The compression algorithm identifier.contentType
- The content type of the enclosing content.AlgorithmIdentifierException
- Compression algorithm is not supported.Method Detail |
public ASN1ObjectID getExposedContentType()
getExposedContentType
in interface CMSOutputConnector
public java.io.OutputStream getOutputStream()
getOutputStream
in interface CMSOutputConnector
|
Oracle Security Developer Tools CMS Java API Reference 10g Release 2 (10.1.2.0.2) B15564-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |