org.bouncycastle.asn1.cms
Class EnvelopedDataParser

java.lang.Object
  extended by org.bouncycastle.asn1.cms.EnvelopedDataParser

public class EnvelopedDataParser
extends java.lang.Object

 EnvelopedData ::= SEQUENCE {
     version CMSVersion,
     originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
     recipientInfos RecipientInfos,
     encryptedContentInfo EncryptedContentInfo,
     unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL 
 }
 


Field Summary
private  DEREncodable _nextObject
           
private  boolean _originatorInfoCalled
           
private  ASN1SequenceParser _seq
           
private  DERInteger _version
           
 
Constructor Summary
EnvelopedDataParser(ASN1SequenceParser seq)
           
 
Method Summary
 ASN1SetParser getCertificates()
           
 ASN1SetParser getCrls()
           
 EncryptedContentInfoParser getEncryptedContentInfo()
           
 OriginatorInfo getOriginatorInfo()
           
 ASN1SetParser getRecipientInfos()
           
 ASN1SetParser getUnprotectedAttrs()
           
 DERInteger getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_seq

private ASN1SequenceParser _seq

_version

private DERInteger _version

_nextObject

private DEREncodable _nextObject

_originatorInfoCalled

private boolean _originatorInfoCalled
Constructor Detail

EnvelopedDataParser

public EnvelopedDataParser(ASN1SequenceParser seq)
                    throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getVersion

public DERInteger getVersion()

getCertificates

public ASN1SetParser getCertificates()
                              throws java.io.IOException
Throws:
java.io.IOException

getCrls

public ASN1SetParser getCrls()
                      throws java.io.IOException
Throws:
java.io.IOException

getOriginatorInfo

public OriginatorInfo getOriginatorInfo()
                                 throws java.io.IOException
Throws:
java.io.IOException

getRecipientInfos

public ASN1SetParser getRecipientInfos()
                                throws java.io.IOException
Throws:
java.io.IOException

getEncryptedContentInfo

public EncryptedContentInfoParser getEncryptedContentInfo()
                                                   throws java.io.IOException
Throws:
java.io.IOException

getUnprotectedAttrs

public ASN1SetParser getUnprotectedAttrs()
                                  throws java.io.IOException
Throws:
java.io.IOException