Skip to content

miniproto.auth.key_exchange.ServerDHInnerData.deserialize

miniproto.auth.key_exchange.ServerDHInnerData.deserialize

Section titled “miniproto.auth.key_exchange.ServerDHInnerData.deserialize”
deserialize(data: bytes | memoryview) -> Self

Decode a complete server_DH_inner_data payload.

Parameters:

  • data (bytes | memoryview) – Constructor-prefixed TL bytes for the inner DH payload.

Raises:

  • TLCodecError – If the constructor is unexpected or bytes remain after decoding.