Class AuthenticatedData

  • All Implemented Interfaces:
    ASN1Encodable, Encodable

    public class AuthenticatedData
    extends ASN1Object
    RFC 5652 section 9.1: The AuthenticatedData carries AuthAttributes and other data which define what really is being signed.
     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