public class

AuthenticatedDataParser

extends Object
java.lang.Object
   ↳ org.bouncycastle.asn1.cms.AuthenticatedDataParser

Class Overview

Produce an object suitable for an ASN1OutputStream.

 AuthenticatedData ::= SEQUENCE {
       version CMSVersion,
       originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
       recipientInfos RecipientInfos,
       macAlgorithm MessageAuthenticationCodeAlgorithm,
       digestAlgorithm [1] DigestAlgorithmIdentifier OPTIONAL,
       encapContentInfo EncapsulatedContentInfo,
       authAttrs [2] IMPLICIT AuthAttributes OPTIONAL,
       mac MessageAuthenticationCode,
       unauthAttrs [3] IMPLICIT UnauthAttributes OPTIONAL }

 AuthAttributes ::= SET SIZE (1..MAX) OF Attribute

 UnauthAttributes ::= SET SIZE (1..MAX) OF Attribute

 MessageAuthenticationCode ::= OCTET STRING
 

Summary

Public Constructors
AuthenticatedDataParser(ASN1SequenceParser seq)
Public Methods
ASN1SetParser getAuthAttrs()
AlgorithmIdentifier getDigestAlgorithm()
ContentInfoParser getEnapsulatedContentInfo()
ASN1OctetString getMac()
AlgorithmIdentifier getMacAlgorithm()
OriginatorInfo getOriginatorInfo()
ASN1SetParser getRecipientInfos()
ASN1SetParser getUnauthAttrs()
DERInteger getVersion()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AuthenticatedDataParser (ASN1SequenceParser seq)

Throws
IOException

Public Methods

public ASN1SetParser getAuthAttrs ()

Throws
IOException

public AlgorithmIdentifier getDigestAlgorithm ()

Throws
IOException

public ContentInfoParser getEnapsulatedContentInfo ()

Throws
IOException

public ASN1OctetString getMac ()

Throws
IOException

public AlgorithmIdentifier getMacAlgorithm ()

Throws
IOException

public OriginatorInfo getOriginatorInfo ()

Throws
IOException

public ASN1SetParser getRecipientInfos ()

Throws
IOException

public ASN1SetParser getUnauthAttrs ()

Throws
IOException

public DERInteger getVersion ()