|
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 | ||||||||
A CMSInputConnector is used in place of a CMSInputStream when reading nested CMS objects.
A CMSInputConnector should be created for the enclosed object, and passed to a CMSInputStream or CMSInputConnector for the enclosing object.
A CMSInputConnector expects the Content field of the CMS ContentInfo structure i.e. the underlying input stream must be positioned just after the explicit [0] tag wrapper.
If the underlying input stream is positioned just at the beginning of the CMS ContentInfo structure, use the CMSInputStream instead.
CMSInputStream| Method Summary | |
ASN1ObjectID |
getEnclosedContentType()Used to determine the content type of the enclosed content. |
java.io.InputStream |
getInputStream()Returns the input stream which is governed by this connector. |
| Method Detail |
public ASN1ObjectID getEnclosedContentType()
throws java.io.IOException
An - I/O error occurred or the input encoding is incorrect.java.io.IOExceptionpublic java.io.InputStream getInputStream()
|
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 | ||||||||