# phpman > man > EVP_SIGNATURE-RSA(7)

[EVP_SIGNATURE-RSA(7SSL)](https://www.chedong.com/phpMan.php/man/EVPSIGNATURE-RSA/7SSL/markdown)                        OpenSSL                       [EVP_SIGNATURE-RSA(7SSL)](https://www.chedong.com/phpMan.php/man/EVPSIGNATURE-RSA/7SSL/markdown)



## NAME
       EVP_SIGNATURE-RSA - The EVP_PKEY RSA signature implementation

## DESCRIPTION
       Support for computing RSA signatures.  See **EVP**___**[PKEY-RSA**(7)](https://www.chedong.com/phpMan.php/man/PKEY-RSA/7/markdown) for information related to RSA
       keys.

### 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()**.

       "digest" (**OSSL**___**SIGNATURE**___**PARAM**___**DIGEST**) <UTF8 string>
       "properties" (**OSSL**___**SIGNATURE**___**PARAM**___**PROPERTIES**) <UTF8 string>
           These common parameters are described in [**provider-signature**(7)](https://www.chedong.com/phpMan.php/man/provider-signature/7/markdown).

       "pad-mode" (**OSSL**___**SIGNATURE**___**PARAM**___**PAD**___**MODE**) <UTF8 string>
           The type of padding to be used. Its value can be one of the following:

           "none" (**OSSL**___**PKEY**___**RSA**___**PAD**___**MODE**___**NONE**)
           "pkcs1" (**OSSL**___**PKEY**___**RSA**___**PAD**___**MODE**___**PKCSV15**)
           "x931" (**OSSL**___**PKEY**___**RSA**___**PAD**___**MODE**___**X931**)
           "pss" (**OSSL**___**PKEY**___**RSA**___**PAD**___**MODE**___**PSS**)
       "mgf1-digest" (**OSSL**___**SIGNATURE**___**PARAM**___**MGF1**___**DIGEST**) <UTF8 string>
           The digest algorithm name to use for the maskGenAlgorithm used by "pss" mode.

       "mgf1-properties" (**OSSL**___**SIGNATURE**___**PARAM**___**MGF1**___**PROPERTIES**) <UTF8 string>
           Sets the name of the property query associated with the "mgf1-digest" algorithm.  NULL is
           used if this optional value is not set.

       "pss-saltlen" (**OSSL**___**SIGNATURE**___**PARAM**___**PSS**___**SALTLEN**) <UTF8 string>
           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:

           "digest" (**OSSL**___**PKEY**___**RSA**___**PSS**___**SALT**___**LEN**___**DIGEST**)
               Use the same length as the digest size.

           "max" (**OSSL**___**PKEY**___**RSA**___**PSS**___**SALT**___**LEN**___**MAX**)
               Use the maximum salt length.

           "auto" (**OSSL**___**PKEY**___**RSA**___**PSS**___**SALT**___**LEN**___**AUTO**)
               Auto detect the salt length.

       The following signature parameters can be retrieved using **EVP**___**PKEY**___**CTX**___**get**___**params()**.

       "algorithm-id" (**OSSL**___**SIGNATURE**___**PARAM**___**ALGORITHM**___**ID**) <octet string>
           This common parameter is described in [**provider-signature**(7)](https://www.chedong.com/phpMan.php/man/provider-signature/7/markdown).

       "digest" (**OSSL**___**SIGNATURE**___**PARAM**___**DIGEST**) <UTF8 string>
       "pad-mode" (**OSSL**___**SIGNATURE**___**PARAM**___**PAD**___**MODE**) <UTF8 string>
       "mgf1-digest" (**OSSL**___**SIGNATURE**___**PARAM**___**MGF1**___**DIGEST**) <UTF8 string>
           These parameters are as described above.

## SEE ALSO
       **EVP**___**PKEY**___**CTX**___**set**___**[params**(3)](https://www.chedong.com/phpMan.php/man/params/3/markdown), **EVP**___**PKEY**___**[sign**(3)](https://www.chedong.com/phpMan.php/man/sign/3/markdown), **EVP**___**PKEY**___**[verify**(3)](https://www.chedong.com/phpMan.php/man/verify/3/markdown), [**provider-signature**(7)](https://www.chedong.com/phpMan.php/man/provider-signature/7/markdown),

## COPYRIGHT
       Copyright 2020-2021 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 <<https://www.openssl.org/source/license.html>>.



3.0.2                                        2026-04-07                      [EVP_SIGNATURE-RSA(7SSL)](https://www.chedong.com/phpMan.php/man/EVPSIGNATURE-RSA/7SSL/markdown)
