You are not logged in. Please login or register.
Active topics Unanswered topics
Welcome to the wolfSSL Forums!
Please post questions or comments you have about wolfSSL products here. It is helpful to be as descriptive as possible when asking your questions.
References
Stable Releases - download stable product releases.
Development Branch - latest development branch on GitHub.
wolfSSL Manual - wolfSSL (formerly CyaSSL) product manual and API reference.
Search options
Could someone please point me to the documentation of this function.
The question I have is, how do I(a embedded device on myside) or any peer embedded device generate the parameter "der" in "RsaPublicKeyDecode(der, &idx, &key, (word32)derSz);"
Is there any specific function that I would have to use?
Thanks!
1. I generate RSA key pair on embedded platform.
Embedded Platform runs a firmware - no file system as of now.
My peer device runs a mobile operating system (android/iOS).
2. Send the Public Key over to my peer.
What format does my public key have to be, inorder to send it over to my peer?
Like "RsaKeyToDer()" can be used to convert my Private Key to der format, is there any function that could be used for converting my Public Key to der format?
3. My peer uses my Public Key to encrypt his message and sends the encrypted message to me.
4. I use my private key to decrypt the received encrypted message.
I am assuming, I would use "RsaPrivateDecrypt(out, ret, plain, sizeof(plain), &key);" where the last parameter is the key I generated.
Posts found: 2
Generated in 0.016 seconds (95% PHP - 5% DB) with 5 queries