Lines Matching refs:algorithm

24 [B<-algorithm> I<alg>]
77 This option encrypts the private key with the supplied cipher. Any algorithm
80 =item B<-algorithm> I<alg>
82 Public key algorithm to use such as RSA, DSA, DH or DHX. If used this option must
83 precede any B<-pkeyopt> options. The options B<-paramfile> and B<-algorithm>
87 Valid built-in algorithm names for private key generation are RSA, RSA-PSS, EC,
90 Valid built-in algorithm names for parameter generation (see the B<-genparam>
93 Note that the algorithm name X9.42 DH may be used as a synonym for DHX keys and
98 Set the public key algorithm option I<opt> to I<value>. The precise set of
99 options supported depends on the public key algorithm used and its
103 To list the possible I<opt> values for an algorithm use:
104 B<openssl> B<genpkey> -algorithm XXX -help
109 precede any B<-algorithm>, B<-paramfile> or B<-pkeyopt> options.
115 algorithm used is determined by the parameters. If used this option must
116 precede any B<-pkeyopt> options. The options B<-paramfile> and B<-algorithm>
136 The options supported by each algorithm and indeed each implementation of an
137 algorithm can vary. The options for the OpenSSL implementations are detailed
169 These options have the same meaning as the B<RSA> algorithm.
217 The options supported by each algorithm and indeed each implementation of an
218 algorithm can vary. The options for the OpenSSL implementations are detailed
288 Valid values that are associated with the B<algorithm> of B<"DH"> are:
292 Valid values that are associated with the B<algorithm> of B<"DHX"> are the
322 The B<algorithm> option must be B<"DH"> for this parameter to be used.
333 The B<algorithm> option must be B<"DH">.
338 The B<algorithm> option must be B<"DHX">.
343 The B<algorithm> option must be B<"DHX">.
349 The B<algorithm> option must be B<"DH">.
353 Selects a default type based on the B<algorithm>. This is used by the
355 If B<algorithm> is B<"DH"> then B<"generator"> is used.
356 If B<algorithm> is B<"DHX"> then B<"fips186_2"> is used.
407 The use of the genpkey program is encouraged over the algorithm specific
408 utilities because additional algorithm options and ENGINE provided algorithms
415 openssl genpkey -algorithm RSA -out key.pem
419 openssl genpkey -algorithm RSA -out key.pem -aes-128-cbc -pass pass:hello
423 openssl genpkey -algorithm RSA -out key.pem \
430 openssl genpkey -genparam -algorithm DSA -out dsap.pem -pkeyopt pbits:2048 \
439 openssl genpkey -algorithm DH -out dhkey.pem -pkeyopt group:ffdhe4096
443 openssl genpkey -algorithm DHX -out dhkey.pem -pkeyopt dh_rfc5114:3
451 openssl genpkey -genparam -algorithm DH -out dhp.pem -pkeyopt group:ffdhe2048
455 openssl genpkey -genparam -algorithm DHX -out dhp.pem -pkeyopt dh_rfc5114:2
459 openssl genpkey -genparam -algorithm DHX -out dhp.pem -text \
465 openssl genpkey -genparam -algorithm DHX -out dhp.pem -text \
471 openssl genpkey -genparam -algorithm DH -out dhp.pem \
476 openssl genpkey -genparam -algorithm DH -out dhpx.pem \
482 openssl genpkey -genparam -algorithm EC -out ecp.pem \
492 openssl genpkey -algorithm EC -out eckey.pem \
498 openssl genpkey -algorithm X25519 -out xkey.pem
502 openssl genpkey -algorithm ED448 -out xkey.pem