Skip to content

Module BSV::Wallet::Serializer::RevealSpecificKeyLinkage::Result

Result wire layout: [33 bytes: prover pubkey] [33 bytes: verifier pubkey] [33 bytes: counterparty pubkey] [1 byte: security_level][VarInt protocol_name_len][protocol_name bytes] [VarInt key_id_len][key_id bytes] [VarInt encrypted_linkage_len][encrypted_linkage bytes] [VarInt encrypted_linkage_proof_len][encrypted_linkage_proof bytes] [1 byte: proof_type]

Public Class Methods

deserialize(bytes)

Pubkey fields are returned as 66-char hex per the BRC-100 PubKeyHex contract (ADR-001 — pubkeys are the documented hex exception to binary-internal). Wire bytes stay 33-byte compressed binary.

serialize(result)

Not documented.