blob: 31cac1de06d0a29aeb073fd4e3d7965cfff2bb9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Copyright (c) 2018 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#include <Swiften/TLS/PrivateKey.h>
namespace Swift {
PrivateKey::PrivateKey(const SafeByteArray& data, boost::optional<SafeByteArray> password) : data_(data), password_(password) {
}
const SafeByteArray& PrivateKey::getData() const {
return data_;
}
const boost::optional<SafeByteArray>& PrivateKey::getPassword() const {
return password_;
}
}
|