Comparison

util/x509.lua @ 12802:4a8740e01813

Merge 0.12->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 12 Dec 2022 07:10:54 +0100
parent 12604:bd9e006a7a74
child 12808:12bd40b8e105
comparison
equal deleted inserted replaced
12801:ebd6b4d8bf04 12802:4a8740e01813
9 -- TODO: I feel a fair amount of this logic should be integrated into Luasec, 9 -- TODO: I feel a fair amount of this logic should be integrated into Luasec,
10 -- so that everyone isn't re-inventing the wheel. Dependencies on 10 -- so that everyone isn't re-inventing the wheel. Dependencies on
11 -- IDN libraries complicate that. 11 -- IDN libraries complicate that.
12 12
13 13
14 -- [TLS-CERTS] - http://tools.ietf.org/html/rfc6125 14 -- [TLS-CERTS] - https://www.rfc-editor.org/rfc/rfc6125.html
15 -- [XMPP-CORE] - http://tools.ietf.org/html/rfc6120 15 -- [XMPP-CORE] - https://www.rfc-editor.org/rfc/rfc6120.html
16 -- [SRV-ID] - http://tools.ietf.org/html/rfc4985 16 -- [SRV-ID] - https://www.rfc-editor.org/rfc/rfc4985.html
17 -- [IDNA] - http://tools.ietf.org/html/rfc5890 17 -- [IDNA] - https://www.rfc-editor.org/rfc/rfc5890.html
18 -- [LDAP] - http://tools.ietf.org/html/rfc4519 18 -- [LDAP] - https://www.rfc-editor.org/rfc/rfc4519.html
19 -- [PKIX] - http://tools.ietf.org/html/rfc5280 19 -- [PKIX] - https://www.rfc-editor.org/rfc/rfc5280.html
20 20
21 local nameprep = require "util.encodings".stringprep.nameprep; 21 local nameprep = require "util.encodings".stringprep.nameprep;
22 local idna_to_ascii = require "util.encodings".idna.to_ascii; 22 local idna_to_ascii = require "util.encodings".idna.to_ascii;
23 local idna_to_unicode = require "util.encodings".idna.to_unicode; 23 local idna_to_unicode = require "util.encodings".idna.to_unicode;
24 local base64 = require "util.encodings".base64; 24 local base64 = require "util.encodings".base64;