Class AuthenticatedDataParser

java.lang.Object
org.bouncycastle.asn1.cms.AuthenticatedDataParser

public class AuthenticatedDataParser extends Object
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 Details

    • AuthenticatedDataParser

      public AuthenticatedDataParser(org.bouncycastle.asn1.ASN1SequenceParser seq) throws IOException
      Throws:
      IOException
  • Method Details