Lines Matching full: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.
251 The options supported by each algorithm and indeed each implementation of an
252 algorithm can vary. The options for the OpenSSL implementations are detailed
322 Valid values that are associated with the B<algorithm> of B<"DH"> are:
326 Valid values that are associated with the B<algorithm> of B<"DHX"> are the
356 The B<algorithm> option must be B<"DH"> for this parameter to be used.
367 The B<algorithm> option must be B<"DH">.
372 The B<algorithm> option must be B<"DHX">.
377 The B<algorithm> option must be B<"DHX">.
383 The B<algorithm> option must be B<"DH">.
387 Selects a default type based on the B<algorithm>. This is used by the
389 If B<algorithm> is B<"DH"> then B<"generator"> is used.
390 If B<algorithm> is B<"DHX"> then B<"fips186_2"> is used.
441 The use of the genpkey program is encouraged over the algorithm specific
442 utilities because additional algorithm options and ENGINE provided algorithms
449 openssl genpkey -algorithm RSA -out key.pem
453 openssl genpkey -algorithm RSA -out key.pem -aes-128-cbc -pass pass:hello
457 openssl genpkey -algorithm RSA -out key.pem \
464 openssl genpkey -genparam -algorithm DSA -out dsap.pem -pkeyopt pbits:2048 \
473 openssl genpkey -algorithm DH -out dhkey.pem -pkeyopt group:ffdhe4096
477 openssl genpkey -algorithm DHX -out dhkey.pem -pkeyopt dh_rfc5114:3
485 openssl genpkey -genparam -algorithm DH -out dhp.pem -pkeyopt group:ffdhe2048
489 openssl genpkey -genparam -algorithm DHX -out dhp.pem -pkeyopt dh_rfc5114:2
493 openssl genpkey -genparam -algorithm DHX -out dhp.pem -text \
499 openssl genpkey -genparam -algorithm DHX -out dhp.pem -text \
505 openssl genpkey -genparam -algorithm DH -out dhp.pem \
510 openssl genpkey -genparam -algorithm DH -out dhpx.pem \
516 openssl genpkey -genparam -algorithm EC -out ecp.pem \
526 openssl genpkey -algorithm EC -out eckey.pem \
532 openssl genpkey -algorithm X25519 -out xkey.pem
536 openssl genpkey -algorithm ED448 -out xkey.pem
540 openssl genpkey -algorithm ML-DSA-65 -out ml-dsa-key.pem
544 openssl genpkey -algorithm ML-KEM-768 -out ml-kem-key.pem