cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
decryption using digital certificate
decryption using digital certificate
Aug 28, 2009 at 9:41am UTC
johnbach
(13)
A client application is encrypting a text using private key and sends through socket.
My application(server written in c/c++,unix) receives the chiper-text through socket.
I have client's digital certificate.
now, how do I decrypt(may be using openssl library) this ciper-text using client's digital certificate.
Aug 28, 2009 at 6:55pm UTC
Gregor
(147)
It's pretty straight-forward.
Read the documentation,
http://www.openssl.org/docs/ssl/ssl.html
Also, a google query will get you some tutorials.
If you hit a wall, we'll try to help
Last edited on
Aug 28, 2009 at 7:04pm UTC
Aug 29, 2009 at 11:08pm UTC
kbw
(9488)
I've done it before, and it's not easy using that interface at all. Further more, it changes slightly with each minor release, forcing the client code to be updated. Pretty poor work from the OpenBSD project if you ask me.
If you can find an example to follow, do that.
Topic archived. No new replies allowed.