Top Description Fields Constructors Methods
org.bouncycastle.asn1.cms

public Class AuthenticatedDataParser

extends Object
Class Inheritance
Imports
java.io.IOException, org.bouncycastle.asn1.ASN1Encodable, .ASN1Integer, .ASN1OctetString, .ASN1SequenceParser, .ASN1SetParser, .ASN1TaggedObject, .ASN1TaggedObjectParser, .ASN1Util, .BERTags, org.bouncycastle.asn1.x509.AlgorithmIdentifier

Parse AuthenticatedData stream.
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

Field Summary

Modifier and TypeField and Description
private ASN1Encodable
private boolean
private ASN1SequenceParser
private ASN1Integer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ASN1SetParser
public AlgorithmIdentifier
public ContentInfoParser
public ASN1OctetString
public AlgorithmIdentifier
public OriginatorInfo
public ASN1SetParser
public ASN1SetParser
public ASN1Integer
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nextObjectback to summary
private ASN1Encodable nextObject
originatorInfoCalledback to summary
private boolean originatorInfoCalled
seqback to summary
private ASN1SequenceParser seq
versionback to summary
private ASN1Integer version

Constructor Detail

AuthenticatedDataParserback to summary
public AuthenticatedDataParser(ASN1SequenceParser seq) throws IOException

Method Detail

getAuthAttrsback to summary
public ASN1SetParser getAuthAttrs() throws IOException
getDigestAlgorithmback to summary
public AlgorithmIdentifier getDigestAlgorithm() throws IOException
getEncapsulatedContentInfoback to summary
public ContentInfoParser getEncapsulatedContentInfo() throws IOException
getMacback to summary
public ASN1OctetString getMac() throws IOException
getMacAlgorithmback to summary
public AlgorithmIdentifier getMacAlgorithm() throws IOException
getOriginatorInfoback to summary
public OriginatorInfo getOriginatorInfo() throws IOException
getRecipientInfosback to summary
public ASN1SetParser getRecipientInfos() throws IOException
getUnauthAttrsback to summary
public ASN1SetParser getUnauthAttrs() throws IOException
getVersionback to summary
public ASN1Integer getVersion()