public class AuthenticatedDataParser extends Object
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() |
ASN1OctetString |
getMac() |
AlgorithmIdentifier |
getMacAlgorithm() |
OriginatorInfo |
getOriginatorInfo() |
ASN1SetParser |
getRecipientInfos() |
ASN1SetParser |
getUnauthAttrs() |
DERInteger |
getVersion() |
public AuthenticatedDataParser(ASN1SequenceParser seq) throws IOException
IOExceptionpublic DERInteger getVersion()
public OriginatorInfo getOriginatorInfo() throws IOException
IOExceptionpublic ASN1SetParser getRecipientInfos() throws IOException
IOExceptionpublic AlgorithmIdentifier getMacAlgorithm() throws IOException
IOExceptionpublic AlgorithmIdentifier getDigestAlgorithm() throws IOException
IOExceptionpublic ContentInfoParser getEnapsulatedContentInfo() throws IOException
IOExceptionpublic ASN1SetParser getAuthAttrs() throws IOException
IOExceptionpublic ASN1OctetString getMac() throws IOException
IOExceptionpublic ASN1SetParser getUnauthAttrs() throws IOException
IOExceptionCopyright © 2015. All rights reserved.