Package org.bouncycastle.asn1.cms
Class AuthenticatedDataParser
- java.lang.Object
-
- org.bouncycastle.asn1.cms.AuthenticatedDataParser
-
public class AuthenticatedDataParser extends java.lang.ObjectParseAuthenticatedDatastream.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 Summary
Constructors Constructor Description AuthenticatedDataParser(org.bouncycastle.asn1.ASN1SequenceParser seq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.ASN1SetParsergetAuthAttrs()org.bouncycastle.asn1.x509.AlgorithmIdentifiergetDigestAlgorithm()ContentInfoParsergetEncapsulatedContentInfo()org.bouncycastle.asn1.ASN1OctetStringgetMac()org.bouncycastle.asn1.x509.AlgorithmIdentifiergetMacAlgorithm()OriginatorInfogetOriginatorInfo()org.bouncycastle.asn1.ASN1SetParsergetRecipientInfos()org.bouncycastle.asn1.ASN1SetParsergetUnauthAttrs()org.bouncycastle.asn1.ASN1IntegergetVersion()
-
-
-
Method Detail
-
getVersion
public org.bouncycastle.asn1.ASN1Integer getVersion()
-
getOriginatorInfo
public OriginatorInfo getOriginatorInfo() throws java.io.IOException
- Throws:
java.io.IOException
-
getRecipientInfos
public org.bouncycastle.asn1.ASN1SetParser getRecipientInfos() throws java.io.IOException- Throws:
java.io.IOException
-
getMacAlgorithm
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getMacAlgorithm() throws java.io.IOException- Throws:
java.io.IOException
-
getDigestAlgorithm
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getDigestAlgorithm() throws java.io.IOException- Throws:
java.io.IOException
-
getEncapsulatedContentInfo
public ContentInfoParser getEncapsulatedContentInfo() throws java.io.IOException
- Throws:
java.io.IOException
-
getAuthAttrs
public org.bouncycastle.asn1.ASN1SetParser getAuthAttrs() throws java.io.IOException- Throws:
java.io.IOException
-
getMac
public org.bouncycastle.asn1.ASN1OctetString getMac() throws java.io.IOException- Throws:
java.io.IOException
-
getUnauthAttrs
public org.bouncycastle.asn1.ASN1SetParser getUnauthAttrs() throws java.io.IOException- Throws:
java.io.IOException
-
-