plan9fox/sys/include
cinap_lenrek 88060e7501 libsec: add X509reqtoRSApub() function and return subject alt names in X509to*pub() name buffer
We need a way to parse a rsa certificate request and return the public
key and subject names. The new function X509reqtoRSApub() works the
same way as X509toRSApub() but on a certificate request.

We also need to support certificates that are valid for multiple domain
names (as tlshand does not support certificate selection). For this
reason, a comma separated list is returned as the certificate subject,
making it symmetric to X509rsareq() handling.

A little helper is provided with this change (auth/x5092pub) that takes
a certificate (or a certificate request when -r flag is provided) and
outputs the RSA public key in plan 9 format appended with the subject
attribute.
2021-07-04 22:00:24 +00:00
..
ape libsec: add X509reqtoRSApub() function and return subject alt names in X509to*pub() name buffer 2021-07-04 22:00:24 +00:00
9p.h lib9p: remove Srv.srvfd, make postsrv() and threadpostsrv() return the mountable file descriptor, update documentation 2021-05-01 19:58:58 +02:00
a.out.h
aml.h
ar.h
auth.h libauth: add procsetuser() function to change user id of the calling process 2020-12-19 17:46:55 +01:00
authsrv.h
avl.h
bin.h
bio.h libbio: add aux pointer to bio 2020-11-01 11:42:54 -08:00
bootexec.h
complete.h
control.h
ctype.h
cursor.h
disk.h
draw.h libdraw: add bezierpts 2021-01-09 12:20:49 -08:00
dtracy.h dtracy: avoid dmachlock() race 2019-03-30 09:17:46 +01:00
event.h
fcall.h Sand edges down on GBIT64()/PBIT64() macros. 2019-05-06 17:26:38 -07:00
fis.h
flate.h
frame.h
geometry.h
html.h
httpd.h
ip.h
json.h
keyboard.h add missing header change (thanks qwx) 2020-04-26 09:03:42 -07:00
libc.h libc: add encode(2) variants for custom alphabets 2021-07-03 20:03:17 +00:00
libsec.h libsec: add X509reqtoRSApub() function and return subject alt names in X509to*pub() name buffer 2021-07-04 22:00:24 +00:00
mach.h
memdraw.h
memlayer.h
mouse.h
mp.h
ndb.h
nfs3.h
plumb.h
pool.h
rdbg.h
regexp.h
sat.h
scribble.h
stdio.h stdio.h: correct return type of putc 2020-08-10 19:36:09 -07:00
String.h
sunrpc.h
thread.h thread.h: threadnonotes does not exist 2021-06-20 14:55:13 +00:00
tos.h
trace.h
ttf.h
venti.h sys/src/libventi: define VtEntryNoArchive constant 2019-09-06 11:55:35 -07:00