public class AuthenticatedDataParser
extends java.lang.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(org.bouncycastle.asn1.ASN1SequenceParser seq) |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.ASN1SetParser |
getAuthAttrs() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getDigestAlgorithm() |
ContentInfoParser |
getEncapsulatedContentInfo() |
org.bouncycastle.asn1.ASN1OctetString |
getMac() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getMacAlgorithm() |
OriginatorInfo |
getOriginatorInfo() |
org.bouncycastle.asn1.ASN1SetParser |
getRecipientInfos() |
org.bouncycastle.asn1.ASN1SetParser |
getUnauthAttrs() |
org.bouncycastle.asn1.ASN1Integer |
getVersion() |
public AuthenticatedDataParser(org.bouncycastle.asn1.ASN1SequenceParser seq)
throws java.io.IOException
java.io.IOExceptionpublic org.bouncycastle.asn1.ASN1Integer getVersion()
public OriginatorInfo getOriginatorInfo() throws java.io.IOException
java.io.IOExceptionpublic org.bouncycastle.asn1.ASN1SetParser getRecipientInfos()
throws java.io.IOException
java.io.IOExceptionpublic org.bouncycastle.asn1.x509.AlgorithmIdentifier getMacAlgorithm()
throws java.io.IOException
java.io.IOExceptionpublic org.bouncycastle.asn1.x509.AlgorithmIdentifier getDigestAlgorithm()
throws java.io.IOException
java.io.IOExceptionpublic ContentInfoParser getEncapsulatedContentInfo() throws java.io.IOException
java.io.IOExceptionpublic org.bouncycastle.asn1.ASN1SetParser getAuthAttrs()
throws java.io.IOException
java.io.IOExceptionpublic org.bouncycastle.asn1.ASN1OctetString getMac()
throws java.io.IOException
java.io.IOExceptionpublic org.bouncycastle.asn1.ASN1SetParser getUnauthAttrs()
throws java.io.IOException
java.io.IOException