Class ContentInfoParser


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

      • ContentInfoParser

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

      • getContentType

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

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