]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Add new certificate types in CERT record 692/head
authorKiran Pawar <kinpaa@gmail.com>
Tue, 21 Sep 2021 09:10:37 +0000 (11:10 +0200)
committerKiran Pawar <kiran.pawar@sap.com>
Tue, 21 Sep 2021 09:13:15 +0000 (11:13 +0200)
Consider new certificate types as defined in
https://datatracker.ietf.org/doc/html/rfc4398

dns/rdtypes/ANY/CERT.py

index 5f26dde7eda78d04d7c07887f679b23a437f401c..f2483c209ee1f4623868624f90be426e068f1027 100644 (file)
@@ -28,6 +28,11 @@ _ctype_by_value = {
     1: 'PKIX',
     2: 'SPKI',
     3: 'PGP',
+    4: 'IPKIX',
+    5: 'ISPKI',
+    6: 'IPGP',
+    7: 'ACPKIX',
+    8: 'IACPKIX',
     253: 'URI',
     254: 'OID',
 }
@@ -36,6 +41,11 @@ _ctype_by_name = {
     'PKIX': 1,
     'SPKI': 2,
     'PGP': 3,
+    'IPKIX': 4,
+    'ISPKI': 5,
+    'IPGP': 6,
+    'ACPKIX': 7,
+    'IACPKIX': 8,
     'URI': 253,
     'OID': 254,
 }