org.bouncycastle.sasn1.cms

Class ContentInfoParser

public class ContentInfoParser extends Object

Deprecated: use corresponding class in org.bouncycastle.asn1.cms

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
Asn1ObjectgetContent(int tag)
Asn1ObjectIdentifiergetContentType()

Constructor Detail

ContentInfoParser

public ContentInfoParser(Asn1Sequence seq)

Method Detail

getContent

public Asn1Object getContent(int tag)

getContentType

public Asn1ObjectIdentifier getContentType()