mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 17:37:47 +00:00
LibCrypto: Store the TBS ASN.1 data on the certificate
This way we dont need to guess the offsets in LibTLS when using it.
This commit is contained in:
parent
24c7995743
commit
0b70314379
4 changed files with 25 additions and 0 deletions
|
@ -151,6 +151,8 @@ public:
|
|||
ErrorOr<void> enter();
|
||||
ErrorOr<void> leave();
|
||||
|
||||
ErrorOr<ReadonlyBytes> peek_entry_bytes();
|
||||
|
||||
private:
|
||||
template<typename ValueType, typename DecodedType>
|
||||
ErrorOr<ValueType> with_type_check(DecodedType&& value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue