/* * Copyright (c) 2018 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #include namespace Swift { PrivateKey::PrivateKey(const SafeByteArray& data, boost::optional password) : data_(data), password_(password) { } const SafeByteArray& PrivateKey::getData() const { return data_; } const boost::optional& PrivateKey::getPassword() const { return password_; } }