feat: add webtransport certhashes field to NoiseExtensions and implement serialization test

Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
This commit is contained in:
2025-08-26 12:48:57 +05:30
parent 05fde3ad40
commit cacb3c8aca
5 changed files with 23 additions and 8 deletions

View File

@ -24,10 +24,7 @@ async def main():
noise_transport = NoiseTransport(
# local_key_pair: The key pair used for libp2p identity and authentication
libp2p_keypair=key_pair,
# noise_privkey: The private key used for Noise protocol encryption
noise_privkey=key_pair.private_key,
# early_data: Optional data to send during the handshake
# (None means no early data)
# TODO: add early data
)