1 // Copyright 2019 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "platform/base/tls_credentials.h" 6 7 namespace openscreen { 8 9 TlsCredentials::TlsCredentials() = default; 10 TlsCredentials(std::vector<uint8_t> der_rsa_private_key,std::vector<uint8_t> der_rsa_public_key,std::vector<uint8_t> der_x509_cert)11TlsCredentials::TlsCredentials(std::vector<uint8_t> der_rsa_private_key, 12 std::vector<uint8_t> der_rsa_public_key, 13 std::vector<uint8_t> der_x509_cert) 14 : der_rsa_private_key(std::move(der_rsa_private_key)), 15 der_rsa_public_key(std::move(der_rsa_public_key)), 16 der_x509_cert(std::move(der_x509_cert)) {} 17 18 TlsCredentials::~TlsCredentials() = default; 19 20 } // namespace openscreen 21