Package org.bouncycastle.asn1.cms
Class AuthenticatedDataParser
java.lang.Object
org.bouncycastle.asn1.cms.AuthenticatedDataParser
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1SetParser
org.bouncycastle.asn1.x509.AlgorithmIdentifier
org.bouncycastle.asn1.ASN1OctetString
getMac()
org.bouncycastle.asn1.x509.AlgorithmIdentifier
org.bouncycastle.asn1.ASN1SetParser
org.bouncycastle.asn1.ASN1SetParser
org.bouncycastle.asn1.ASN1Integer
-
Constructor Details
-
AuthenticatedDataParser
- Throws:
IOException
-
-
Method Details
-
getVersion
public org.bouncycastle.asn1.ASN1Integer getVersion() -
getOriginatorInfo
- Throws:
IOException
-
getRecipientInfos
- Throws:
IOException
-
getMacAlgorithm
- Throws:
IOException
-
getDigestAlgorithm
- Throws:
IOException
-
getEncapsulatedContentInfo
- Throws:
IOException
-
getAuthAttrs
- Throws:
IOException
-
getMac
- Throws:
IOException
-
getUnauthAttrs
- Throws:
IOException
-