[openssl-users] RSA sign message

Gabriel Ivașcu ivascu.gabriel59 at gmail.com
Tue Jul 19 20:05:13 UTC 2016


Hi,

I need to RSA sign a message using SHA256 as hash and PKCS1 v1.5 as padding.

I am however confused about the *type* parameter of RSA_sign function [0]

What is the value that I should use for *type* in my particular case?

Thanks,
Gabriel

[0] https://www.openssl.org/docs/manmaster/crypto/RSA_sign.html


More information about the openssl-users mailing list