rsa(8): document rsa2jwk

This commit is contained in:
cinap_lenrek 2021-10-27 17:04:13 +00:00
parent e8083eca17
commit 463bbddb8d

View file

@ -1,6 +1,6 @@
.TH RSA 8 .TH RSA 8
.SH NAME .SH NAME
rsagen, rsafill, asn12rsa, rsa2asn1, rsa2pub, rsa2ssh, rsa2x509, rsa2csr, x5092pub \- generate and format rsa keys rsagen, rsafill, asn12rsa, rsa2asn1, rsa2pub, rsa2ssh, rsa2x509, rsa2csr, rsa2jwk, x5092pub \- generate and format rsa keys
.SH SYNOPSIS .SH SYNOPSIS
.B rsagen .B rsagen
[ [
@ -48,6 +48,11 @@ rsagen, rsafill, asn12rsa, rsa2asn1, rsa2pub, rsa2ssh, rsa2x509, rsa2csr, x5092p
.I file .I file
] ]
.PP .PP
.B rsa2jwk
[
.I file
]
.PP
.B rsa2x509 .B rsa2x509
[ [
.B -e .B -e
@ -202,6 +207,10 @@ in the format used by SSH2. The
.B -c .B -c
option will set the comment. option will set the comment.
.PP .PP
.I Rsa2jwk
reads a Plan 9 RSA public or provate key and prints the public portion
as a RFC7517 formated JSON Web Key.
.PP
.I Rsa2x509 .I Rsa2x509
reads a Plan 9 RSA private key and writes a self-signed X.509 certificate reads a Plan 9 RSA private key and writes a self-signed X.509 certificate
encoded in ASN.1/DER format to standard output. encoded in ASN.1/DER format to standard output.