org.bouncycastle.sasn1.cms

Class ContentInfoParser


public class ContentInfoParser
extends java.lang.Object

Produce an object suitable for an ASN1OutputStream.
 ContentInfo ::= SEQUENCE {
          contentType ContentType,
          content
          [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
 

Constructor Summary

ContentInfoParser(Asn1Sequence seq)

Method Summary

Asn1Object
getContent(int tag)
Asn1ObjectIdentifier
getContentType()

Constructor Details

ContentInfoParser

public ContentInfoParser(Asn1Sequence seq)
            throws IOException

Method Details

getContent

public Asn1Object getContent(int tag)
            throws IOException

getContentType

public Asn1ObjectIdentifier getContentType()