1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 16:47:45 +00:00

LibTLS: Read subjectAltName from certificates and use it

As quite a few certificates use this extension, reading and using it to
find matching certificates is fairly useful :^)
This commit is contained in:
AnotherTest 2020-12-13 22:25:09 +03:30 committed by Andreas Kling
parent 48589db3aa
commit dbfce38c90
2 changed files with 31 additions and 4 deletions

View file

@ -66,8 +66,7 @@ struct Certificate {
String entity;
String subject;
String unit;
u8** SAN;
u16 SAN_length;
Vector<String> SAN;
u8* ocsp;
Crypto::UnsignedBigInteger serial_number;
ByteBuffer sign_key;