Looking for source code example on how to load private/public key from .pem 
file. 
Then use it to encrypt/decrypt/sign using RSA.

Standard library examples are too low level. 
My requirement is rather basic: load pem file and then use various RSA 
functions.

I was looking at rsa.EncryptOAEP but can not find a way to load "pub 
*PublicKey" from pem file.


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to