Bouncy Castle Cryptography Library 1.79

org.bouncycastle.asn1.cms
Class EnvelopedDataParser

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

public class EnvelopedDataParser
extends java.lang.Object

Parser of RFC 5652 EnvelopedData object.

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


Constructor Summary
EnvelopedDataParser(org.bouncycastle.asn1.ASN1SequenceParser seq)
           
 
Method Summary
 EncryptedContentInfoParser getEncryptedContentInfo()
           
 OriginatorInfo getOriginatorInfo()
           
 org.bouncycastle.asn1.ASN1SetParser getRecipientInfos()
           
 org.bouncycastle.asn1.ASN1SetParser getUnprotectedAttrs()
           
 org.bouncycastle.asn1.ASN1Integer getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvelopedDataParser

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

getVersion

public org.bouncycastle.asn1.ASN1Integer getVersion()

getOriginatorInfo

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

getRecipientInfos

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

getEncryptedContentInfo

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

getUnprotectedAttrs

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

Bouncy Castle Cryptography Library 1.79