// 
// Decompiled by Procyon v0.6.0
// 

package org.bouncycastle.cms;

import java.io.IOException;
import java.io.OutputStream;
import java.io.InputStream;
import org.bouncycastle.asn1.cms.CMSObjectIdentifiers;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;

public class CMSAbsentContent implements CMSTypedData, CMSReadable
{
    private final ASN1ObjectIdentifier type;
    
    public CMSAbsentContent() {
        this(CMSObjectIdentifiers.data);
    }
    
    public CMSAbsentContent(final ASN1ObjectIdentifier type) {
        this.type = type;
    }
    
    @Override
    public InputStream getInputStream() {
        return null;
    }
    
    @Override
    public void write(final OutputStream outputStream) throws IOException, CMSException {
    }
    
    @Override
    public Object getContent() {
        return null;
    }
    
    @Override
    public ASN1ObjectIdentifier getContentType() {
        return this.type;
    }
}
