Deserialize an application/ohttp-keys payload into key configurations.
application/ohttp-keys
The wire format is a sequence of length-prefixed KeyConfig entries:
KeyConfig { Key Identifier (8), KEM ID (16), Public Key (Npk bytes, determined by KEM), Cipher Suites Length (16), Cipher Suites (variable) { KDF ID (16), AEAD ID (16), } ... }
Each KeyConfig is prefixed with its 2-byte length.
Deserialize an
application/ohttp-keyspayload into key configurations.The wire format is a sequence of length-prefixed KeyConfig entries:
KeyConfig { Key Identifier (8), KEM ID (16), Public Key (Npk bytes, determined by KEM), Cipher Suites Length (16), Cipher Suites (variable) { KDF ID (16), AEAD ID (16), } ... }
Each KeyConfig is prefixed with its 2-byte length.