X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=doc%2Fman1%2Fgenpkey.pod;h=fc83efa475c884d0367e098f08cf6bf720cea306;hb=a2eecb5d2691d8a2e3481765683054f1edfcba36;hp=50a7b1bb6dd94f9037e0b1ef112b5bdf3a6698ac;hpb=c4de074e6385a86a43a30fee574e77f9dcabb022;p=openssl.git diff --git a/doc/man1/genpkey.pod b/doc/man1/genpkey.pod index 50a7b1bb6d..fc83efa475 100644 --- a/doc/man1/genpkey.pod +++ b/doc/man1/genpkey.pod @@ -2,6 +2,7 @@ =head1 NAME +openssl-genpkey, genpkey - generate a private key =head1 SYNOPSIS @@ -11,7 +12,7 @@ B B [B<-out filename>] [B<-outform PEM|DER>] [B<-pass arg>] -[B<-cipher>] +[B<-I>] [B<-engine id>] [B<-paramfile file>] [B<-algorithm alg>] @@ -38,14 +39,14 @@ standard output is used. =item B<-outform DER|PEM> -This specifies the output format DER or PEM. +This specifies the output format DER or PEM. The default format is PEM. =item B<-pass arg> The output file password source. For more information about the format of B see the B section in L. -=item B<-cipher> +=item B<-I> This option encrypts the private key with the supplied cipher. Any algorithm name accepted by EVP_get_cipherbyname() is acceptable such as B. @@ -104,6 +105,29 @@ below. The number of bits in the generated key. If not specified 1024 is used. +=item B + +The number of primes in the generated key. If not specified 2 is used. + +=item B + +The RSA public exponent value. This can be a large decimal or +hexadecimal value if preceded by B<0x>. Default value is 65537. + +=back + +=head1 RSA-PSS KEY GENERATION OPTIONS + +Note: by default an B key has no parameter restrictions. + +=over 4 + +=item B, B + +These options have the same meaning as the B algorithm. + +=item B + =item B The RSA public exponent value. This can be a large decimal or @@ -217,10 +241,10 @@ numeric OID. Following parameter sets are supported: =back -=head1 X25519 KEY GENERATION OPTIONS - -The X25519 algorithm does not currently support any key generation options. +=head1 X25519 and X448 KEY GENERATION OPTIONS +The X25519 and X448 algorithms do not currently support any key generation +options. =head1 NOTES