Serenity Operating System
1/*
2 * Copyright (c) 2020-2022, the SerenityOS developers.
3 *
4 * SPDX-License-Identifier: BSD-2-Clause
5 */
6
7#include <LibHTTP/HttpsJob.h>
8
9namespace HTTP {
10
11void HttpsJob::set_certificate(DeprecatedString certificate, DeprecatedString key)
12{
13 m_received_client_certificates = TLS::TLSv12::parse_pem_certificate(certificate.bytes(), key.bytes());
14}
15
16}