XCMS Toolkit Generated Type
DigestedData

Cryptographic Message Syntax (CMS) content type DigestedData is defined as follows:

    DigestedData ::= SEQUENCE {
       version           CMSVersion,
       digestAlgorithm   DigestAlgorithmIdentifier,
       encapContentInfo  EncapsulatedContentInfo,
       digest            Digest
    }

Type DigestedData references the following types:

    CMSVersion ::= INTEGER { v0(0), v1(1), v2(2), v3(3), v4(4), v5(5) } (0..MAX)

    DigestAlgorithmIdentifier ::= SEQUENCE {
       algorithm   ALGORITHM.&id({DigestAlgorithms}),
       parameters  ALGORITHM.&Type({DigestAlgorithms}{@algorithm})  OPTIONAL
    }

    EncapsulatedContentInfo ::= SEQUENCE {
      eContentType  ContentType,
      eContent      [0] EXPLICIT OCTET STRING  OPTIONAL
    }

    ContentType ::= CONTENTS.&id({Contents})

    CONTENTS ::= TYPE-IDENTIFIER  -- Defined in ISO/IEC 8824-2, Annex A

    Contents CONTENTS ::= {
       { SignedData             IDENTIFIED BY  id-signedData            } |
       { EnvelopedData          IDENTIFIED BY  id-envelopedData         } |
       { AuthenticatedData      IDENTIFIED BY  id-ct-authData           } |
       { DigestedData           IDENTIFIED BY  id-digestedData          } |
       { EncryptedData          IDENTIFIED BY  id-encryptedData         } |
       { NamedKeyEncryptedData  IDENTIFIED BY  id-namedkeyencryptedData } |
       { Data                   IDENTIFIED BY  id-data                  },

       ...  -- Expect additional content type objects --
    }
	   
    Digest ::= OCTET STRING

Note that type EncapsulatedContentInfo, which may contain any of the CMS types defined in the ISO 22895 Cryptographic Syntax Scheme (CSS) standard.


Copyright © 2002-2006 by Griffin Consulting, All rights reserved.
Last updated on
XCMS Toolkit Support