|
Virgil Security Crypto library
2.6.3
|
This is model object that represent session in PFS communication. More...
#include <VirgilPFSSession.h>
Public Member Functions | |
| VirgilPFSSession () | |
| Create empty session. | |
| VirgilPFSSession (VirgilByteArray identifier, VirgilByteArray encryptionSecretKey, VirgilByteArray decryptionSecretKey, VirgilByteArray additionalData) | |
| bool | isEmpty () const |
| const VirgilByteArray & | getIdentifier () const |
| Getter. More... | |
| const VirgilByteArray & | getEncryptionSecretKey () const |
| Getter. More... | |
| const VirgilByteArray & | getDecryptionSecretKey () const |
| Getter. More... | |
| const VirgilByteArray & | getAdditionalData () const |
| Getter. More... | |
This is model object that represent session in PFS communication.
Session is a set of parameters that is unique for each communication.
| virgil::crypto::pfs::VirgilPFSSession::VirgilPFSSession | ( | VirgilByteArray | identifier, |
| VirgilByteArray | encryptionSecretKey, | ||
| VirgilByteArray | decryptionSecretKey, | ||
| VirgilByteArray | additionalData | ||
| ) |
| identifier | - session unique identifier. |
| encryptionSecretKey | - key that is used for encryption. |
| decryptionSecretKey | - key that is used for decryption. |
| additionalData | - data that is associated with both sides that is used in communication. |
| const VirgilByteArray& virgil::crypto::pfs::VirgilPFSSession::getAdditionalData | ( | ) | const |
Getter.
| const VirgilByteArray& virgil::crypto::pfs::VirgilPFSSession::getDecryptionSecretKey | ( | ) | const |
Getter.
| const VirgilByteArray& virgil::crypto::pfs::VirgilPFSSession::getEncryptionSecretKey | ( | ) | const |
Getter.
| const VirgilByteArray& virgil::crypto::pfs::VirgilPFSSession::getIdentifier | ( | ) | const |
Getter.
| bool virgil::crypto::pfs::VirgilPFSSession::isEmpty | ( | ) | const |
1.8.11