public class AuthenticatedDataParser extends Object
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
Constructor and Description |
---|
AuthenticatedDataParser(ASN1SequenceParser seq) |
Modifier and Type | Method and Description |
---|---|
ASN1SetParser |
getAuthAttrs() |
AlgorithmIdentifier |
getDigestAlgorithm() |
ContentInfoParser |
getEnapsulatedContentInfo()
Deprecated.
use getEncapsulatedContentInfo()
|
ContentInfoParser |
getEncapsulatedContentInfo() |
ASN1OctetString |
getMac() |
AlgorithmIdentifier |
getMacAlgorithm() |
OriginatorInfo |
getOriginatorInfo() |
ASN1SetParser |
getRecipientInfos() |
ASN1SetParser |
getUnauthAttrs() |
ASN1Integer |
getVersion() |
public AuthenticatedDataParser(ASN1SequenceParser seq) throws IOException
IOException
public ASN1Integer getVersion()
public OriginatorInfo getOriginatorInfo() throws IOException
IOException
public ASN1SetParser getRecipientInfos() throws IOException
IOException
public AlgorithmIdentifier getMacAlgorithm() throws IOException
IOException
public AlgorithmIdentifier getDigestAlgorithm() throws IOException
IOException
public ContentInfoParser getEnapsulatedContentInfo() throws IOException
IOException
public ContentInfoParser getEncapsulatedContentInfo() throws IOException
IOException
public ASN1SetParser getAuthAttrs() throws IOException
IOException
public ASN1OctetString getMac() throws IOException
IOException
public ASN1SetParser getUnauthAttrs() throws IOException
IOException
Copyright © 2017 BouncyCastle.org. All rights reserved.