mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
RequestServer+LibTLS: Allow applications to specify multiple root certs
This commit is contained in:
parent
49467c6ec2
commit
080aa567a5
Notes:
sideshowbarker
2024-07-16 22:22:13 +09:00
Author: https://github.com/ADKaster
Commit: 080aa567a5
Pull-request: https://github.com/SerenityOS/serenity/pull/23094
8 changed files with 41 additions and 26 deletions
|
@ -292,11 +292,11 @@ public:
|
|||
Vector<Certificate> const& certificates() const { return m_ca_certificates; }
|
||||
|
||||
static ErrorOr<Vector<Certificate>> parse_pem_root_certificate_authorities(ByteBuffer&);
|
||||
static ErrorOr<Vector<Certificate>> load_certificates(StringView custom_cert_path = {});
|
||||
static ErrorOr<Vector<Certificate>> load_certificates(Span<ByteString> custom_cert_paths = {});
|
||||
|
||||
static DefaultRootCACertificates& the();
|
||||
|
||||
static void set_default_certificate_path(String);
|
||||
static void set_default_certificate_paths(Span<ByteString> paths);
|
||||
|
||||
private:
|
||||
Vector<Certificate> m_ca_certificates;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue