Bouncy Castle Cryptography Library 1.79

org.bouncycastle.asn1.cms
Class ContentInfoParser

java.lang.Object
  extended byorg.bouncycastle.asn1.cms.ContentInfoParser

public class ContentInfoParser
extends java.lang.Object

RFC 5652 ContentInfo object parser. ContentInfo ::= SEQUENCE { contentType ContentType, content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }


Constructor Summary
ContentInfoParser(org.bouncycastle.asn1.ASN1SequenceParser seq)
           
 
Method Summary
 org.bouncycastle.asn1.ASN1Encodable getContent(int tag)
           
 org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentInfoParser

public ContentInfoParser(org.bouncycastle.asn1.ASN1SequenceParser seq)
                  throws java.io.IOException
Method Detail

getContentType

public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()

getContent

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

Bouncy Castle Cryptography Library 1.79