88060e7501
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. |
||
---|---|---|
.. | ||
arpa | ||
netinet | ||
sys | ||
ar.h | ||
assert.h | ||
auth.h | ||
bio.h | ||
bsd.h | ||
bzlib.h | ||
ctype.h | ||
cursor.h | ||
dirent.h | ||
draw.h | ||
errno.h | ||
error.h | ||
event.h | ||
fcntl.h | ||
fmt.h | ||
grp.h | ||
inttypes.h | ||
keyboard.h | ||
lib9.h | ||
libl.h | ||
libnet.h | ||
libsec.h | ||
libv.h | ||
limits.h | ||
locale.h | ||
lock.h | ||
math.h | ||
mouse.h | ||
mp.h | ||
netdb.h | ||
Plan9libnet.h | ||
plumb.h | ||
pwd.h | ||
qlock.h | ||
select.h | ||
setjmp.h | ||
signal.h | ||
stdbool.h | ||
stddef.h | ||
stdint.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
termios.h | ||
time.h | ||
u.h | ||
unistd.h | ||
utf.h | ||
utime.h | ||
zlib.h |