X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=doc%2Fapps%2Fgenrsa.pod;h=37ced0dee62e58ca507ba9d54715f4abd395e468;hb=35ed393e5e47d75f9496ed1464bca7fc82cd72d7;hp=cdcc03c1237b72716d619f342f33d2e486a9909a;hpb=b87ef9460be7ab25438a46d9a1bae133d614c253;p=openssl.git diff --git a/doc/apps/genrsa.pod b/doc/apps/genrsa.pod index cdcc03c123..37ced0dee6 100644 --- a/doc/apps/genrsa.pod +++ b/doc/apps/genrsa.pod @@ -7,14 +7,22 @@ genrsa - generate an RSA private key =head1 SYNOPSIS B B +[B<-help>] [B<-out filename>] [B<-passout arg>] +[B<-aes128>] +[B<-aes192>] +[B<-aes256>] +[B<-camellia128>] +[B<-camellia192>] +[B<-camellia256>] [B<-des>] [B<-des3>] [B<-idea>] [B<-f4>] [B<-3>] [B<-rand file(s)>] +[B<-engine id>] [B] =head1 DESCRIPTION @@ -25,20 +33,24 @@ The B command generates an RSA private key. =over 4 +=item B<-help> + +Print out a usage message. + =item B<-out filename> -the output filename. If this argument is not specified then standard output is -used. +Output the key to the specified file. If this argument is not specified then +standard output is used. =item B<-passout arg> the output file password source. For more information about the format of B -see the B section in L. +see the B section in L. -=item B<-des|-des3|-idea> +=item B<-aes128|-aes192|-aes256|-camellia128|-camellia192|-camellia256|-des|-des3|-idea> -These options encrypt the private key with the DES, triple DES, or the -IDEA ciphers respectively before outputting it. If none of these options is +These options encrypt the private key with specified +cipher before outputting it. If none of these options is specified no encryption is used. If encryption is used a pass phrase is prompted for if it is not supplied via the B<-passout> argument. @@ -49,11 +61,18 @@ the public exponent to use, either 65537 or 3. The default is 65537. =item B<-rand file(s)> a file or files containing random data used to seed the random number -generator, or an EGD socket (see L). -Multiple files can be specified separated by a OS-dependent character. +generator, or an EGD socket (see L). +Multiple files can be specified separated by an OS-dependent character. The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for all others. +=item B<-engine id> + +specifying an engine (by its unique B string) will cause B +to attempt to obtain a functional reference to the specified engine, +thus initialising it if needed. The engine will then be set as the default +for all available algorithms. + =item B the size of the private key to generate in bits. This must be the last option @@ -82,7 +101,7 @@ be much larger (typically 1024 bits). =head1 SEE ALSO -L +L =cut