1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 10:27:36 +00:00

LibTLS: Parse Certificate signature algorithm and value

This part of the certificate was originally just skipped, however it
will be needed to check the validity of the certificate.
This commit is contained in:
Michiel Visser 2022-02-21 22:14:40 +01:00 committed by Ali Mohammad Pur
parent 2b416e5faa
commit d5cef41bb6
2 changed files with 20 additions and 1 deletions

View file

@ -53,6 +53,8 @@ public:
ByteBuffer fingerprint {};
ByteBuffer der {};
ByteBuffer data {};
CertificateKeyAlgorithm signature_algorithm { CertificateKeyAlgorithm::Unsupported };
ByteBuffer signature_value {};
static Optional<Certificate> parse_asn1(ReadonlyBytes, bool client_cert = false);