Package org.bouncycastle.cms
Class CMSAbsentContent
java.lang.Object
org.bouncycastle.cms.CMSAbsentContent
- All Implemented Interfaces:
CMSProcessable,CMSTypedData
public class CMSAbsentContent extends Object implements CMSTypedData
a class representing null or absent content.
-
Constructor Summary
Constructors Constructor Description CMSAbsentContent()CMSAbsentContent(ASN1ObjectIdentifier type) -
Method Summary
Modifier and Type Method Description ObjectgetContent()ASN1ObjectIdentifiergetContentType()InputStreamgetInputStream()voidwrite(OutputStream zOut)generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.
-
Constructor Details
-
CMSAbsentContent
public CMSAbsentContent() -
CMSAbsentContent
-
-
Method Details
-
getInputStream
-
write
Description copied from interface:CMSProcessablegeneric 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:
writein interfaceCMSProcessable- Throws:
IOExceptionCMSException
-
getContent
- Specified by:
getContentin interfaceCMSProcessable
-
getContentType
- Specified by:
getContentTypein interfaceCMSTypedData
-