#include <diffiehellman.h>
Public Member Functions | |
| virtual ByteArray & | getPublicKey () const=0 |
| Gets the public key. | |
| virtual void | generateSharedSecret (const ByteArray &peer_public_key)=0 |
| Generates the DiffieHellman shared secret. | |
| virtual ByteArray & | getSharedSecret () const=0 |
| Gets the shared secret. | |
Public Attributes | |
| Enums::DH_ID | group_id |
| Diffie-Hellman group id. | |
| virtual ByteArray& openikev2::DiffieHellman::getPublicKey | ( | ) | const [pure virtual] |
Gets the public key.
| virtual void openikev2::DiffieHellman::generateSharedSecret | ( | const ByteArray & | peer_public_key | ) | [pure virtual] |
| virtual ByteArray& openikev2::DiffieHellman::getSharedSecret | ( | ) | const [pure virtual] |
Gets the shared secret.
It is needed to call generateSharedSecret() before call this method
1.5.1