|
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.CMSSignedDataOutputConnector
A CMSSignedDataOutputConnector
is used in place of a CMSSignedDataOutputStream
when constructing nested CMS objects containing signed-data
structures.
A CMSSignedDataOutputConnector
is essentially an output stream filter that wraps the data written to it within a CMS signed-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
, CMSSignedDataOutputStream
Constructor Summary | |
CMSSignedDataOutputConnector(CMSOutputConnector conn, java.util.Vector signers, java.util.Vector certificates, java.util.Vector crls, ASN1ObjectID contentType, boolean createExternalSignatures) Creates a CMSSignedDataOutputConnector . |
|
CMSSignedDataOutputConnector(java.io.OutputStream out, java.util.Vector signers, java.util.Vector certificates, java.util.Vector crls, ASN1ObjectID contentType, boolean createExternalSignatures) Creates a CMSSignedDataOutputConnector . |
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 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 CMSSignedDataOutputConnector(java.io.OutputStream out, java.util.Vector signers, java.util.Vector certificates, java.util.Vector crls, ASN1ObjectID contentType, boolean createExternalSignatures) throws AlgorithmIdentifierException
CMSSignedDataOutputConnector
.out
- The underlying output stream.signers
- A collection of signers i.e CMSSignerInfo
Objects.certificates
- A collection of Certificates that are to be be added to the signed-data Object.crls
- A collection of CRL's that are to be be added to the signed-data Object.contentType
- The content type of the enclosed data that is being signed.createExternalSignatures
- Specify whether External Signatures are to be created i.e. signed content is not written to the output stream.AlgorithmIdentifierException
- An error occurred during the initializationpublic CMSSignedDataOutputConnector(CMSOutputConnector conn, java.util.Vector signers, java.util.Vector certificates, java.util.Vector crls, ASN1ObjectID contentType, boolean createExternalSignatures) throws AlgorithmIdentifierException
CMSSignedDataOutputConnector
.conn
- The underlying output connector.signers
- A collection of signers i.e CMSSignerInfo
Objects.certificates
- A collection of Certificates that are to be be added to the signed-data Object.crls
- A collection of CRL's that are to be be added to the signed-data Object.contentType
- The content type of the enclosed data that is being signed.createExternalSignatures
- Specify whether external signatures are to be created i.e. signed content is not written to the output stream.AlgorithmIdentifierException
- An error occurred during the initializationMethod 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 |