manish kanchan manishdkanchan00@gmail.com writes:
- Does nettle support on PKCS1 encoding fro RSA encrytpion and
signing?
Yes, if you are asking about the padding used internally. The resulting signatures are simply represented as mpz_t bignums, and you have to encode and decode them to the representation you need for your protocol or file format of interest.
- In the PrivateKey structure, Is the d ( private expoenent ) never
used?
It's not used. It is set by rsa_generate_keypair, though.
Regards, /Niels