1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-08-08 09:42:06 +03:00

Add getExportedKeyingMaterial to QuicSocket API.

Summary: This allows for applications to derive exported key material.

Reviewed By: hanidamlaj

Differential Revision: D55643408

fbshipit-source-id: 00a2bb7d050dc37ea5917d4b1f70bf9e0975de0c
This commit is contained in:
Kyle Nekritz
2024-04-25 08:24:54 -07:00
committed by Facebook GitHub Bot
parent 3570f0122f
commit 5986d37294
6 changed files with 44 additions and 2 deletions

View File

@@ -554,6 +554,13 @@ class TestQuicTransport
return observerContainer_.get();
}
folly::Optional<std::vector<uint8_t>> getExportedKeyingMaterial(
const std::string&,
const folly::Optional<folly::ByteRange>&,
uint16_t) const override {
return folly::none;
}
QuicServerConnectionState* transportConn;
std::unique_ptr<Aead> aead;
std::unique_ptr<PacketNumberCipher> headerCipher;