Package org.bouncycastle.asn1.cms
Class ContentInfoParser
- java.lang.Object
-
- org.bouncycastle.asn1.cms.ContentInfoParser
-
public class ContentInfoParser extends java.lang.Object
RFC 5652ContentInfo
object parser.ContentInfo ::= SEQUENCE { contentType ContentType, content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
-
-
Constructor Summary
Constructors Constructor Description ContentInfoParser(ASN1SequenceParser seq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1Encodable
getContent(int tag)
ASN1ObjectIdentifier
getContentType()
-
-
-
Constructor Detail
-
ContentInfoParser
public ContentInfoParser(ASN1SequenceParser seq) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getContentType
public ASN1ObjectIdentifier getContentType()
-
getContent
public ASN1Encodable getContent(int tag) throws java.io.IOException
- Throws:
java.io.IOException
-
-