mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:17:46 +00:00
LibCrypto: Add multiple PEM parser
This adds a function to parse multiple PEMs out of a single input. This allows us to load certificates from a cacert.pem file without need for preprocessing.
This commit is contained in:
parent
700ad6bf35
commit
06340ca674
2 changed files with 38 additions and 0 deletions
|
@ -13,5 +13,6 @@
|
|||
namespace Crypto {
|
||||
|
||||
ByteBuffer decode_pem(ReadonlyBytes);
|
||||
ErrorOr<Vector<ByteBuffer>> decode_pems(ReadonlyBytes);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue