blob: 6cecbc4e3ab8bdde68fdbaedb823039c7ac61abd [file] [log] [blame]
Harald Weltec83d2fe2019-08-10 22:08:54 +02001;;
2;; %CopyrightBegin%
3;;
4;; Transcribed from RFC 6734 by Harald Welte <laforge@gnumonks.org>
5;;
6;; Licensed under the Apache License, Version 2.0 (the "License");
7;; you may not use this file except in compliance with the License.
8;; You may obtain a copy of the License at
9;;
Harald Welte207ef1f2024-06-05 16:45:09 +020010;; https://www.apache.org/licenses/LICENSE-2.0
Harald Weltec83d2fe2019-08-10 22:08:54 +020011;;
12;; Unless required by applicable law or agreed to in writing, software
13;; distributed under the License is distributed on an "AS IS" BASIS,
14;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15;; See the License for the specific language governing permissions and
16;; limitations under the License.
17;;
18;; %CopyrightEnd%
19;;
20
21;;
22;; RFC 6734, Diameter Attribute-Value Pairs for Cryptographic Key Transport
23;;
24
25@id 1
26
27@inherits diameter_gen_base_rfc6733
28
29;; ===========================================================================
30
31@avp_types
32
33 Key 581 Grouped -
34 Key-Type 582 Enumerated -
35 Key-Name 586 OctetString -
36 Keying-Material 583 OctetString -
37 Key-Lifetime 584 Unsigned32 -
38 Key-SPI 585 Unsigned32 -
39
40;; ===========================================================================
41
42@messages
43
44;; ===========================================================================
45
46@enum Key-Type
47 DSRK 0
48 RRK 1
49 RMSK 2
50
51;; ===========================================================================
52
53@grouped
54
55 Key ::= < AVP Header: 581 >
56 < Key-Type >
57 { Keying-Material }
58 [ Key-Lifetime ]
59 [ Key-Name ]
60 [ Key-SPI ]
61 * [ AVP ]