Class ContentInfoParser

java.lang.Object
org.bouncycastle.asn1.cms.ContentInfoParser

public class ContentInfoParser extends Object
RFC 5652 ContentInfo object parser.
 ContentInfo ::= SEQUENCE {
     contentType ContentType,
     content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
 
  • Constructor Details

    • ContentInfoParser

      public ContentInfoParser(org.bouncycastle.asn1.ASN1SequenceParser seq) throws IOException
      Throws:
      IOException
  • Method Details

    • getContentType

      public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
    • getContent

      public org.bouncycastle.asn1.ASN1Encodable getContent(int tag) throws IOException
      Throws:
      IOException