Skip to content

Commit bd344e5

Browse files
committed
Add OIDs from RFC 9925
1 parent a97a6e4 commit bd344e5

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

cmd/der2ascii/oid_names.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ var oidNames = []struct {
6969
{[]byte{0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x4}, "ecdsa-with-SHA512"},
7070
{[]byte{0x2b, 0x65, 0x70}, "ed25519"},
7171
{[]byte{0x2b, 0x65, 0x71}, "ed448"},
72+
{[]byte{0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0x6, 0x24}, "alg-unsigned"},
7273
{[]byte{0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0x1, 0x1}, "authorityInfoAccess"},
7374
{[]byte{0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0x1, 0x7}, "ipAddrBlocks"},
7475
{[]byte{0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0x1, 0x8}, "autonomousSysIds"},
@@ -147,6 +148,7 @@ var oidNames = []struct {
147148
{[]byte{0x55, 0x4, 0xb}, "organizationUnitName"},
148149
{[]byte{0x55, 0x4, 0xc}, "title"},
149150
{[]byte{0x55, 0x4, 0x11}, "postalCode"},
151+
{[]byte{0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0x19, 0x1}, "rdna-unsigned"},
150152
{[]byte{0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x9, 0x10, 0x2, 0x1}, "receiptRequest"},
151153
{[]byte{0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x9, 0x10, 0x2, 0x2}, "securityLabel"},
152154
{[]byte{0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x9, 0x10, 0x2, 0x3}, "mlExpandHistory"},

util/oid_names.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ ecdsa-with-SHA384: 1.2.840.10045.4.3.3
6060
ecdsa-with-SHA512: 1.2.840.10045.4.3.4
6161
ed25519: 1.3.101.112
6262
ed448: 1.3.101.113
63+
alg-unsigned: 1.3.6.1.5.5.7.6.36
6364

6465
# X.509 extensions
6566
authorityInfoAccess: 1.3.6.1.5.5.7.1.1
@@ -151,6 +152,9 @@ organizationUnitName: 2.5.4.11
151152
title: 2.5.4.12
152153
postalCode: 2.5.4.17
153154

155+
# PKIX relative distinguished name attributes
156+
rdna-unsigned: 1.3.6.1.5.5.7.25.1
157+
154158
# S/MIME attributes
155159
receiptRequest: 1.2.840.113549.1.9.16.2.1
156160
securityLabel: 1.2.840.113549.1.9.16.2.2

0 commit comments

Comments
 (0)