Skip to content

Commit

Permalink
Add IPAddrBlock and ASIdentifiers extensions (RFC 3779)
Browse files Browse the repository at this point in the history
Co-authored-by: butteronarchbtw <[email protected]>
  • Loading branch information
arckoor and butteronarchbtw committed Nov 25, 2024
1 parent e54502e commit 725468c
Show file tree
Hide file tree
Showing 10 changed files with 1,342 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/build-data/oids.txt
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@
2.5.29.36 = X509v3.PolicyConstraints
2.5.29.37 = X509v3.ExtendedKeyUsage
1.3.6.1.5.5.7.1.1 = PKIX.AuthorityInformationAccess
1.3.6.1.5.5.7.1.7 = PKIX.ipAddrBlocks
1.3.6.1.5.5.7.1.8 = PKIX.autonomousSysIds
1.3.6.1.5.5.7.1.26 = PKIX.TNAuthList

2.5.29.32.0 = X509v3.AnyPolicy
Expand Down
6 changes: 5 additions & 1 deletion src/lib/asn1/oid_maps.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* OID maps
*
* This file was automatically generated by ./src/scripts/dev_tools/gen_oids.py on 2024-10-18
* This file was automatically generated by ./src/scripts/dev_tools/gen_oids.py on 2024-11-25
*
* All manual edits to this file will be lost. Edit the script
* then regenerate this source file.
Expand Down Expand Up @@ -237,6 +237,8 @@ std::unordered_map<std::string, std::string> OID_Map::load_oid2str_map() {
{"1.3.6.1.4.1.8301.3.1.2.9.0.38", "secp521r1"},
{"1.3.6.1.5.5.7.1.1", "PKIX.AuthorityInformationAccess"},
{"1.3.6.1.5.5.7.1.26", "PKIX.TNAuthList"},
{"1.3.6.1.5.5.7.1.7", "PKIX.ipAddrBlocks"},
{"1.3.6.1.5.5.7.1.8", "PKIX.autonomousSysIds"},
{"1.3.6.1.5.5.7.3.1", "PKIX.ServerAuth"},
{"1.3.6.1.5.5.7.3.2", "PKIX.ClientAuth"},
{"1.3.6.1.5.5.7.3.3", "PKIX.CodeSigning"},
Expand Down Expand Up @@ -497,6 +499,8 @@ std::unordered_map<std::string, OID> OID_Map::load_str2oid_map() {
{"PKIX.TNAuthList", OID({1, 3, 6, 1, 5, 5, 7, 1, 26})},
{"PKIX.TimeStamping", OID({1, 3, 6, 1, 5, 5, 7, 3, 8})},
{"PKIX.XMPPAddr", OID({1, 3, 6, 1, 5, 5, 7, 8, 5})},
{"PKIX.autonomousSysIds", OID({1, 3, 6, 1, 5, 5, 7, 1, 8})},
{"PKIX.ipAddrBlocks", OID({1, 3, 6, 1, 5, 5, 7, 1, 7})},
{"RIPEMD-160", OID({1, 3, 36, 3, 2, 1})},
{"RSA", OID({1, 2, 840, 113549, 1, 1, 1})},
{"RSA/EMSA3(MD2)", OID({1, 2, 840, 113549, 1, 1, 2})},
Expand Down
Loading

0 comments on commit 725468c

Please sign in to comment.