|
Oracle Fusion Middleware CMS Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10667-05 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cms.CMSSignedDataOutputConnector
public class 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 java.security.NoSuchAlgorithmException
CMSSignedDataOutputConnector
.
Note the change in the exceptions thrown
Exceptions no longer thrown : AlgorithmIdentifierException
Exceptions introduced : NoSuchAlgorithmException
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.java.security.NoSuchAlgorithmException
- An error occurred during the initializationpublic CMSSignedDataOutputConnector(CMSOutputConnector conn, java.util.Vector signers, java.util.Vector certificates, java.util.Vector crls, oracle.security.crypto.asn1.ASN1ObjectID contentType, boolean createExternalSignatures) throws java.security.NoSuchAlgorithmException
CMSSignedDataOutputConnector
.
Note the change in the exceptions thrown
Exceptions no longer thrown : AlgorithmIdentifierException
Exceptions introduced : NoSuchAlgorithmException
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.java.security.NoSuchAlgorithmException
- An error occurred during the initializationMethod Detail |
---|
public oracle.security.crypto.asn1.ASN1ObjectID getExposedContentType()
getExposedContentType
in interface CMSOutputConnector
public java.io.OutputStream getOutputStream()
getOutputStream
in interface CMSOutputConnector
|
Oracle Fusion Middleware CMS Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10667-05 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |