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:
parent
2b416e5faa
commit
d5cef41bb6
2 changed files with 20 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue