AuthEnvelopedDataParser (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

org.bouncycastle.asn1.cms

## Class AuthEnvelopedDataParser

- java.lang.Object
- - org.bouncycastle.asn1.cms.AuthEnvelopedDataParser

-     public class AuthEnvelopedDataParser
      extends java.lang.Object

  Parse `AuthEnvelopedData` input stream.

       AuthEnvelopedData ::= SEQUENCE {
         version CMSVersion,
         originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
         recipientInfos RecipientInfos,
         authEncryptedContentInfo EncryptedContentInfo,
         authAttrs [1] IMPLICIT AuthAttributes OPTIONAL,
         mac MessageAuthenticationCode,
         unauthAttrs [2] IMPLICIT UnauthAttributes OPTIONAL }

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AuthEnvelopedDataParser(ASN1SequenceParser seq)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ASN1SetParser` | `getAuthAttrs()`
    `EncryptedContentInfoParser` | `getAuthEncryptedContentInfo()`
    `ASN1OctetString` | `getMac()`
    `OriginatorInfo` | `getOriginatorInfo()`
    `ASN1SetParser` | `getRecipientInfos()`
    `ASN1SetParser` | `getUnauthAttrs()`
    `ASN1Integer` | `getVersion()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AuthEnvelopedDataParser

          public AuthEnvelopedDataParser(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`

    - #### getAuthEncryptedContentInfo

          public EncryptedContentInfoParser getAuthEncryptedContentInfo()
                                                                 throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### getAuthAttrs

          public ASN1SetParser getAuthAttrs()
                                     throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### getMac

          public ASN1OctetString getMac()
                                 throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### getUnauthAttrs

          public ASN1SetParser getUnauthAttrs()
                                       throws java.io.IOException

      Throws:
        `java.io.IOException`