=pod =head1 NAME EVP_SIGNATURE-RSA - The EVP_PKEY RSA signature implementation =head1 DESCRIPTION Support for computing RSA signatures. See L for information related to RSA keys. =head2 Signature Parameters The following signature parameters can be set using EVP_PKEY_CTX_set_params(). This may be called after EVP_PKEY_sign_init() or EVP_PKEY_verify_init(), and before calling EVP_PKEY_sign() or EVP_PKEY_verify(). =over 4 =item "digest" (B) =item "properties" (B) These common parameters are described in L. =item "pad-mode" (B) The type of padding to be used. Its value can be one of the following: =over 4 =item "none" (B) =item "pkcs1" (B) =item "sslv23" (B) =item "x931" (B) =item "pss" (B) =back =item "mgf1-digest" (B) The digest algorithm name to use for the maskGenAlgorithm used by "pss" mode. =item "mgf1-properties" (B) Sets the name of the property query associated with the "mgf1-digest" algorithm. NULL is used if this optional value is not set. =item "pss-saltlen" (B) Set or get the "pss" mode minimum salt length. The value can either be a string value representing a number or one of the following: =over 4 =item "digest" (B) Use the same length as the digest size. =item "max" (B) Use the maximum salt length. =item "auto" (B) Auto detect the salt length. =back =back The following signature parameters can be retrieved using EVP_PKEY_CTX_get_params(). =over 4 =item "algorithm-id" (B) This common parameter is described in L. =item "digest" (B) =item "pad-mode" (B) =item "mgf1-digest" (B) These parameters are as described above. =back =head1 SEE ALSO L, L, L, L, =head1 COPYRIGHT Copyright 2020 The OpenSSL Project Authors. All Rights Reserved. Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at L. =cut