mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
LibTLS: Add self signage information to our parsed certificates
This commit is contained in:
parent
c5542ea2c9
commit
114a383af3
3 changed files with 27 additions and 0 deletions
|
@ -349,6 +349,11 @@ Optional<Certificate> Certificate::parse_asn1(ReadonlyBytes buffer, bool)
|
|||
return {};
|
||||
}
|
||||
|
||||
// self issued
|
||||
{
|
||||
certificate.is_self_issued = certificate.issuer_identifier_string() == certificate.subject_identifier_string();
|
||||
}
|
||||
|
||||
// extensions
|
||||
{
|
||||
if (certificate.version == 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue