#ifndef CAST_RECEIVER_CHANNEL_STATIC_CREDENTIALS_H_
#define CAST_RECEIVER_CHANNEL_STATIC_CREDENTIALS_H_
#include <memory>
#include <string>
#include <vector>
#include "cast/receiver/channel/device_auth_namespace_handler.h"
#include "platform/base/error.h"
#include "platform/base/tls_credentials.h"
namespace openscreen::cast {
class StaticCredentialsProvider final
: public DeviceAuthNamespaceHandler::CredentialsProvider { … };
struct GeneratedCredentials { … };
void GenerateDeveloperCredentialsToFile();
ErrorOr<GeneratedCredentials> GenerateCredentials(
const std::string& device_certificate_id,
const std::string& private_key_path,
const std::string& server_certificate_path);
ErrorOr<GeneratedCredentials> GenerateCredentialsForTesting(
const std::string& device_certificate_id);
}
#endif