Package org.bouncycastle.cms
Class CMSTypedStream
- java.lang.Object
-
- org.bouncycastle.cms.CMSTypedStream
-
- Direct Known Subclasses:
PKCS7TypedStream
public class CMSTypedStream extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected InputStream
_in
-
Constructor Summary
Constructors Modifier Constructor Description CMSTypedStream(InputStream in)
CMSTypedStream(String oid, InputStream in)
CMSTypedStream(String oid, InputStream in, int bufSize)
protected
CMSTypedStream(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
CMSTypedStream(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, InputStream in)
CMSTypedStream(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, InputStream in, int bufSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drain()
InputStream
getContentStream()
org.bouncycastle.asn1.ASN1ObjectIdentifier
getContentType()
-
-
-
Field Detail
-
_in
protected InputStream _in
-
-
Constructor Detail
-
CMSTypedStream
public CMSTypedStream(InputStream in)
-
CMSTypedStream
public CMSTypedStream(String oid, InputStream in)
-
CMSTypedStream
public CMSTypedStream(String oid, InputStream in, int bufSize)
-
CMSTypedStream
public CMSTypedStream(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, InputStream in)
-
CMSTypedStream
public CMSTypedStream(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, InputStream in, int bufSize)
-
CMSTypedStream
protected CMSTypedStream(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
-
-
Method Detail
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
-
getContentStream
public InputStream getContentStream()
-
drain
public void drain() throws IOException
- Throws:
IOException
-
-