Virgil Security Crypto library  2.6.3
VirgilPythiaTransformationKeyPair.h
1 
37 #ifndef VIRGIL_PYTHIA_TRANSFORMATION_KEY_PAIR_H
38 #define VIRGIL_PYTHIA_TRANSFORMATION_KEY_PAIR_H
39 
40 #include "../VirgilByteArray.h"
41 
42 namespace virgil {
43 namespace crypto {
44 namespace pythia {
45 
51 public:
60  : privateKey_(std::move(privateKey)),
61  publicKey_(std::move(publicKey)) {
62  }
63 
67  const VirgilByteArray& publicKey() const {
68  return publicKey_;
69  }
70 
74  const VirgilByteArray& privateKey() const {
75  return privateKey_;
76  }
77 
78 private:
79  const VirgilByteArray privateKey_;
80  const VirgilByteArray publicKey_;
81 };
82 
83 } // namespace pythia
84 } // namespace crypto
85 } // namespace virgil
86 
87 #endif /* VIRGIL_PYTHIA_TRANSFORMATION_KEY_PAIR_H */
Handles result of the method VirgilPythia::computeTransformationKeyPair().
Definition: VirgilPythiaTransformationKeyPair.h:50
Definition: VirgilHash.h:265
Root namespace for all Virgil Security libraries.
Definition: VirgilAsn1Compatible.h:46
std::vector< unsigned char > VirgilByteArray
This type represents a sequence of bytes.
Definition: VirgilByteArray.h:50
const VirgilByteArray & privateKey() const
Definition: VirgilPythiaTransformationKeyPair.h:74
VirgilPythiaTransformationKeyPair(VirgilByteArray privateKey, VirgilByteArray publicKey)
Encapsulate given data.
Definition: VirgilPythiaTransformationKeyPair.h:58
const VirgilByteArray & publicKey() const
Definition: VirgilPythiaTransformationKeyPair.h:67