Package org.bouncycastle.cms
Class CMSAbsentContent
- java.lang.Object
-
- org.bouncycastle.cms.CMSAbsentContent
-
- All Implemented Interfaces:
CMSProcessable
,CMSTypedData
public class CMSAbsentContent extends java.lang.Object implements CMSTypedData
a class representing null or absent content.
-
-
Constructor Summary
Constructors Constructor Description CMSAbsentContent()
CMSAbsentContent(org.bouncycastle.asn1.ASN1ObjectIdentifier type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getContent()
org.bouncycastle.asn1.ASN1ObjectIdentifier
getContentType()
java.io.InputStream
getInputStream()
void
write(java.io.OutputStream zOut)
generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.
-
-
-
Method Detail
-
getInputStream
public java.io.InputStream getInputStream()
-
write
public void write(java.io.OutputStream zOut) throws java.io.IOException, CMSException
Description copied from interface:CMSProcessable
generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.Note: this routine may be called multiple times.
- Specified by:
write
in interfaceCMSProcessable
- Throws:
java.io.IOException
CMSException
-
getContent
public java.lang.Object getContent()
- Specified by:
getContent
in interfaceCMSProcessable
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
- Specified by:
getContentType
in interfaceCMSTypedData
-
-