1+ -- %CopyrightBegin%
2+ --
3+ -- SPDX-License-Identifier: BSD-3-Clause
4+ --
5+ -- Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.
6+ -- Copyright Ericsson AB 2025. All Rights Reserved.
7+ --
8+ -- Redistribution and use in source and binary forms, with or without
9+ -- modification, are permitted provided that the following conditions are met:
10+ --
11+ -- 1. Redistributions of source code must retain the above copyright notice,
12+ -- this list of conditions and the following disclaimer.
13+ --
14+ -- 2. Redistributions in binary form must reproduce the above copyright notice,
15+ -- this list of conditions and the following disclaimer in the documentation
16+ -- and/or other materials provided with the distribution.
17+ --
18+ -- 3. Neither the name of the copyright holder nor the names of its contributors
19+ -- may be used to endorse or promote products derived from this software
20+ -- without specific prior written permission.
21+ --
22+ -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
23+ -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24+ -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25+ -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
26+ -- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27+ -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28+ -- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29+ -- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30+ -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31+ -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32+ -- POSSIBILITY OF SUCH DAMAGE.
33+ --
34+ -- %CopyrightEnd%
35+
36+ KEMAlgorithmInformation-2023
37+ { iso(1 ) identified-organization(3 ) dod(6 ) internet(1 )
38+ security(5 ) mechanisms(5 ) pkix(7 ) id-mod(0 )
39+ id-mod-kemAlgorithmInformation-2023(109 ) }
40+
41+ DEFINITIONS EXPLICIT TAGS ::=
42+ BEGIN
43+ -- EXPORTS ALL;
44+ IMPORTS
45+ ParamOptions, PUBLIC-KEY, SMIME-CAPS
46+ FROM AlgorithmInformation-2009
47+ { iso(1 ) identified-organization(3 ) dod(6 ) internet(1 )
48+ security(5 ) mechanisms(5 ) pkix(7 ) id-mod(0 )
49+ id-mod-algorithmInformation-02(58 ) } ;
50+
51+ -- KEM-ALGORITHM
52+ --
53+ -- Describes the basic properties of a KEM algorithm
54+ --
55+ -- Suggested prefix for KEM algorithm objects is: kema-
56+ --
57+ -- &id - contains the OID identifying the KEM algorithm
58+ -- &Value - if present, contains a type definition for the kemct;
59+ -- if absent, implies that no ASN.1 encoding is
60+ -- performed on the kemct value
61+ -- &Params - if present, contains the type for the algorithm
62+ -- parameters; if absent, implies no parameters
63+ -- ¶mPresence - parameter presence requirement
64+ -- &PublicKeySet - specifies which public keys are used with
65+ -- this algorithm
66+ -- &Ukm - if absent, type for user keying material
67+ -- &ukmPresence - specifies the requirements to define the UKM
68+ -- field
69+ -- &smimeCaps - contains the object describing how the S/MIME
70+ -- capabilities are presented.
71+ --
72+ -- Example:
73+ -- kema-kem-rsa KEM-ALGORITHM ::= {
74+ -- IDENTIFIER id-kem-rsa
75+ -- PARAMS TYPE RsaKemParameters ARE optional
76+ -- PUBLIC-KEYS { pk-rsa | pk-rsa-kem }
77+ -- UKM ARE optional
78+ -- SMIME-CAPS { TYPE GenericHybridParameters
79+ -- IDENTIFIED BY id-rsa-kem }
80+ -- }
81+
82+ KEM-ALGORITHM ::= CLASS {
83+ &id OBJECT IDENTIFIER UNIQUE,
84+ &Value OPTIONAL ,
85+ &Params OPTIONAL ,
86+ ¶mPresence ParamOptions DEFAULT absent,
87+ &PublicKeySet PUBLIC-KEY OPTIONAL ,
88+ &Ukm OPTIONAL ,
89+ &ukmPresence ParamOptions DEFAULT absent,
90+ &smimeCaps SMIME-CAPS OPTIONAL
91+ } WITH SYNTAX {
92+ IDENTIFIER &id
93+ [VALUE &Value]
94+ [PARAMS [TYPE &Params] ARE ¶mPresence]
95+ [PUBLIC-KEYS &PublicKeySet]
96+ [UKM [TYPE &Ukm] ARE &ukmPresence]
97+ [SMIME-CAPS &smimeCaps]
98+ }
99+
100+ END
0 commit comments