|
Oracle Security Developer Tools CMS Java API Reference 10g (10.1.4.0.1) B28170-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, oracle.security.crypto.asn1.ASN1ObjectID contentType, boolean createExternalSignatures)Creates a CMSSignedDataOutputConnector. |
|
CMSSignedDataOutputConnector(java.io.OutputStream out, java.util.Vector signers, java.util.Vector certificates, java.util.Vector crls, oracle.security.crypto.asn1.ASN1ObjectID contentType, boolean createExternalSignatures)Creates a CMSSignedDataOutputConnector. |
|
| Method Summary | |
oracle.security.crypto.asn1.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,
oracle.security.crypto.asn1.ASN1ObjectID contentType,
boolean createExternalSignatures)
throws oracle.security.crypto.core.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.oracle.security.crypto.core.AlgorithmIdentifierException - An error occurred during the initialization
public CMSSignedDataOutputConnector(CMSOutputConnector conn,
java.util.Vector signers,
java.util.Vector certificates,
java.util.Vector crls,
oracle.security.crypto.asn1.ASN1ObjectID contentType,
boolean createExternalSignatures)
throws oracle.security.crypto.core.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.oracle.security.crypto.core.AlgorithmIdentifierException - An error occurred during the initialization| Method Detail |
public oracle.security.crypto.asn1.ASN1ObjectID getExposedContentType()
getExposedContentType in interface CMSOutputConnectorpublic java.io.OutputStream getOutputStream()
getOutputStream in interface CMSOutputConnector
|
Oracle Security Developer Tools CMS Java API Reference 10g (10.1.4.0.1) B28170-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||