1EVP_SIGNATURE-RSA(7ossl)            OpenSSL           EVP_SIGNATURE-RSA(7ossl)
2
3
4

NAME

6       EVP_SIGNATURE-RSA - The EVP_PKEY RSA signature implementation
7

DESCRIPTION

9       Support for computing RSA signatures.  See EVP_PKEY-RSA(7) for
10       information related to RSA keys.
11
12   Signature Parameters
13       The following signature parameters can be set using
14       EVP_PKEY_CTX_set_params().  This may be called after
15       EVP_PKEY_sign_init() or EVP_PKEY_verify_init(), and before calling
16       EVP_PKEY_sign() or EVP_PKEY_verify().
17
18       "digest" (OSSL_SIGNATURE_PARAM_DIGEST) <UTF8 string>
19       "properties" (OSSL_SIGNATURE_PARAM_PROPERTIES) <UTF8 string>
20           These common parameters are described in provider-signature(7).
21
22       "pad-mode" (OSSL_SIGNATURE_PARAM_PAD_MODE) <UTF8 string>
23           The type of padding to be used. Its value can be one of the
24           following:
25
26           "none" (OSSL_PKEY_RSA_PAD_MODE_NONE)
27           "pkcs1" (OSSL_PKEY_RSA_PAD_MODE_PKCSV15)
28           "x931" (OSSL_PKEY_RSA_PAD_MODE_X931)
29           "pss" (OSSL_PKEY_RSA_PAD_MODE_PSS)
30       "mgf1-digest" (OSSL_SIGNATURE_PARAM_MGF1_DIGEST) <UTF8 string>
31           The digest algorithm name to use for the maskGenAlgorithm used by
32           "pss" mode.
33
34       "mgf1-properties" (OSSL_SIGNATURE_PARAM_MGF1_PROPERTIES) <UTF8 string>
35           Sets the name of the property query associated with the
36           "mgf1-digest" algorithm.  NULL is used if this optional value is
37           not set.
38
39       "pss-saltlen" (OSSL_SIGNATURE_PARAM_PSS_SALTLEN) <UTF8 string>
40           Set or get the "pss" mode minimum salt length. The value can either
41           be a string value representing a number or one of the following:
42
43           "digest" (OSSL_PKEY_RSA_PSS_SALT_LEN_DIGEST)
44               Use the same length as the digest size.
45
46           "max" (OSSL_PKEY_RSA_PSS_SALT_LEN_MAX)
47               Use the maximum salt length.
48
49           "auto" (OSSL_PKEY_RSA_PSS_SALT_LEN_AUTO)
50               Auto detect the salt length.
51
52       The following signature parameters can be retrieved using
53       EVP_PKEY_CTX_get_params().
54
55       "algorithm-id" (OSSL_SIGNATURE_PARAM_ALGORITHM_ID) <octet string>
56           This common parameter is described in provider-signature(7).
57
58       "digest" (OSSL_SIGNATURE_PARAM_DIGEST) <UTF8 string>
59       "pad-mode" (OSSL_SIGNATURE_PARAM_PAD_MODE) <UTF8 string>
60       "mgf1-digest" (OSSL_SIGNATURE_PARAM_MGF1_DIGEST) <UTF8 string>
61           These parameters are as described above.
62

SEE ALSO

64       EVP_PKEY_CTX_set_params(3), EVP_PKEY_sign(3), EVP_PKEY_verify(3),
65       provider-signature(7),
66
68       Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
69
70       Licensed under the Apache License 2.0 (the "License").  You may not use
71       this file except in compliance with the License.  You can obtain a copy
72       in the file LICENSE in the source distribution or at
73       <https://www.openssl.org/source/license.html>.
74
75
76
773.0.5                             2022-07-05          EVP_SIGNATURE-RSA(7ossl)
Impressum