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
| Modifier and Type | Field and Description |
|---|---|
private ASN1Encodable |
nextObject |
private boolean |
originatorInfoCalled |
private ASN1SequenceParser |
seq |
private ASN1Integer |
version |
| 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() |
private ASN1SequenceParser seq
private ASN1Integer version
private ASN1Encodable nextObject
private boolean originatorInfoCalled
public AuthenticatedDataParser(ASN1SequenceParser seq) throws java.io.IOException
java.io.IOExceptionpublic ASN1Integer getVersion()
public OriginatorInfo getOriginatorInfo() throws java.io.IOException
java.io.IOExceptionpublic ASN1SetParser getRecipientInfos() throws java.io.IOException
java.io.IOExceptionpublic AlgorithmIdentifier getMacAlgorithm() throws java.io.IOException
java.io.IOExceptionpublic AlgorithmIdentifier getDigestAlgorithm() throws java.io.IOException
java.io.IOExceptionpublic ContentInfoParser getEnapsulatedContentInfo() throws java.io.IOException
java.io.IOExceptionpublic ContentInfoParser getEncapsulatedContentInfo() throws java.io.IOException
java.io.IOExceptionpublic ASN1SetParser getAuthAttrs() throws java.io.IOException
java.io.IOExceptionpublic ASN1OctetString getMac() throws java.io.IOException
java.io.IOExceptionpublic ASN1SetParser getUnauthAttrs() throws java.io.IOException
java.io.IOException