Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Using openssl functions on U++
Re: Using openssl functions on U++ [message #13119 is a reply to message #13118] |
Thu, 13 December 2007 09:42   |
Zardos
Messages: 62 Registered: April 2007
|
Member |
|
|
Just another remark:
Make sure you call GenerateKeyPair(...) or PrivateKeyFromPem(...) before signing a message!
GenerateKeyPair: creates a new (random) public/private key pair. The private key is used for signing and decryption. The public key is used to verify a signed messages and to encrypt a message
PrivateKeyFromPem: reads a private key from a string -> PrivateKeyToPem save a private key to a string. The string is in PEM format, probably what you need
To verify a message you need a public key. Use PublicKeyFromPem(...) for this.
- Ralf
[Updated on: Thu, 13 December 2007 16:32] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Jun 29 15:12:53 CEST 2025
Total time taken to generate the page: 0.05238 seconds
|