blob: 6d9b03ffe81bfbde58f6a5607f94c4f6ca36b5c1 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CAST_RECEIVER_CHANNEL_TESTING_DEVICE_AUTH_TEST_HELPERS_H_
#define CAST_RECEIVER_CHANNEL_TESTING_DEVICE_AUTH_TEST_HELPERS_H_
#include <openssl/x509.h>
#include <vector>
#include "absl/strings/string_view.h"
#include "cast/receiver/channel/device_auth_namespace_handler.h"
#include "cast/receiver/channel/static_credentials.h"
namespace openscreen {
namespace cast {
void InitStaticCredentialsFromFiles(StaticCredentialsProvider* creds,
bssl::UniquePtr<X509>* parsed_cert,
TrustStore* fake_trust_store,
absl::string_view privkey_filename,
absl::string_view chain_filename,
absl::string_view tls_filename);
} // namespace cast
} // namespace openscreen
#endif // CAST_RECEIVER_CHANNEL_TESTING_DEVICE_AUTH_TEST_HELPERS_H_