[#RSA_padding_add_PKCS1_PSS] = RSA_padding_add_PKCS1_PSS :mrdocs: Encode an EMSA‐PSS padded block for RSA signature (deprecated). == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int RSA_padding_add_PKCS1_PSS( xref:RSA.adoc[RSA]* rsa, unsigned char* EM, unsigned char const* mHash, xref:EVP_MD.adoc[EVP_MD] const* Hash, int sLen); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *rsa* | RSA key providing the modulus length. | *EM* | Destination encoded message of length RSA_size(`rsa).` | *mHash* | Hash of the message being signed. | *Hash* | Digest method that produced `mHash` (and used by MGF1 unless configured otherwise). | *sLen* | Salt length in bytes, or RSA_PSS_SALTLEN_* special values. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#