EnvelopedDataParser (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.asn1.cms

## Class EnvelopedDataParser

- java.lang.Object
- - org.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

    Constructors
    Constructor and Description
    `EnvelopedDataParser(ASN1SequenceParser seq)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `EncryptedContentInfoParser` | `getEncryptedContentInfo()`
    `OriginatorInfo` | `getOriginatorInfo()`
    `ASN1SetParser` | `getRecipientInfos()`
    `ASN1SetParser` | `getUnprotectedAttrs()`
    `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(ASN1SequenceParser seq)
                              throws java.io.IOException

      Throws:
        `java.io.IOException`

  - ### Method Detail

    - #### getVersion

          public ASN1Integer getVersion()

    - #### 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`