synta 0.2.6

ASN.1 parser, decoder, and encoder library with DER/BER support and C FFI
Documentation
-- RFC 9629 §6.1 — KEMAlgorithmInformation-2023 ASN.1 Module
--
-- Defines the KEM-ALGORITHM Information Object Class used to describe
-- key encapsulation mechanism algorithms in a CMS context.
--
-- This module contains only a CLASS definition (X.681 §9).  CLASS constructs
-- have no DER encoding; synta-codegen emits a documentation comment and no
-- Rust type for them.

KEMAlgorithmInformation-2023
  { iso(1) identified-organization(3) dod(6) internet(1)
    security(5) mechanisms(5) pkix(7) id-mod(0)
    id-mod-kemAlgorithmInformation-2023(109) }

DEFINITIONS EXPLICIT TAGS ::=

BEGIN

-- EXPORTS ALL;

IMPORTS
  ParamOptions, PUBLIC-KEY, SMIME-CAPS
    FROM AlgorithmInformation-2009
      { iso(1) identified-organization(3) dod(6) internet(1)
        security(5) mechanisms(5) pkix(7) id-mod(0)
        id-mod-algorithmInformation-02(58) } ;

KEM-ALGORITHM ::= CLASS {
  &id             OBJECT IDENTIFIER UNIQUE,
  &Value          OPTIONAL,
  &Params         OPTIONAL,
  &paramPresence  ParamOptions DEFAULT absent,
  &PublicKeySet   PUBLIC-KEY OPTIONAL,
  &Ukm            OPTIONAL,
  &ukmPresence    ParamOptions DEFAULT absent,
  &smimeCaps      SMIME-CAPS OPTIONAL
} WITH SYNTAX {
  IDENTIFIER &id
  [VALUE &Value]
  [PARAMS [TYPE &Params] ARE &paramPresence]
  [PUBLIC-KEYS &PublicKeySet]
  [UKM [TYPE &Ukm] ARE &ukmPresence]
  [SMIME-CAPS &smimeCaps]
}

END