Virgil Security Crypto library
2.4.6
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
include
virgil
crypto
pfs
VirgilPFSPrivateKey.h
1
37
#ifndef VIRGIL_CRYPTO_PFS_VIRGIL_PFS_PRIVATE_KEY_H
38
#define VIRGIL_CRYPTO_PFS_VIRGIL_PFS_PRIVATE_KEY_H
39
40
#include "../VirgilByteArray.h"
41
42
namespace
virgil {
namespace
crypto {
namespace
pfs {
43
50
class
VirgilPFSPrivateKey
{
51
public
:
56
explicit
VirgilPFSPrivateKey
(
VirgilByteArray
key =
VirgilByteArray
(),
VirgilByteArray
password =
VirgilByteArray
());
57
61
bool
isEmpty
()
const
;
62
67
const
VirgilByteArray
&
getKey
()
const
;
68
73
const
VirgilByteArray
&
getPassword
()
const
;
74
76
VirgilPFSPrivateKey
(
const
VirgilPFSPrivateKey
& other) =
default
;
77
78
VirgilPFSPrivateKey
& operator=(
const
VirgilPFSPrivateKey
& other) =
default
;
79
80
VirgilPFSPrivateKey
(
VirgilPFSPrivateKey
&& other) =
default
;
81
82
VirgilPFSPrivateKey
& operator=(
VirgilPFSPrivateKey
&& other) =
default
;
83
84
~
VirgilPFSPrivateKey
() noexcept;
86
87
private
:
88
VirgilByteArray
key_;
89
VirgilByteArray
password_;
90
};
91
92
}}}
93
94
#endif //VIRGIL_CRYPTO_PFS_VIRGIL_PFS_PRIVATE_KEY_H
virgil::crypto::pfs::VirgilPFSPrivateKey::getKey
const VirgilByteArray & getKey() const
Getter.
virgil::crypto::pfs::VirgilPFSPrivateKey::isEmpty
bool isEmpty() const
virgil::crypto::VirgilByteArray
std::vector< unsigned char > VirgilByteArray
This type represents a sequence of bytes.
Definition:
VirgilByteArray.h:50
virgil::crypto::pfs::VirgilPFSPrivateKey
This is model object that handles private key.
Definition:
VirgilPFSPrivateKey.h:50
virgil::crypto::pfs::VirgilPFSPrivateKey::getPassword
const VirgilByteArray & getPassword() const
Getter.
virgil::crypto::pfs::VirgilPFSPrivateKey::VirgilPFSPrivateKey
VirgilPFSPrivateKey(VirgilByteArray key=VirgilByteArray(), VirgilByteArray password=VirgilByteArray())
Generated by
1.8.6