The Bridge Protcol is the core messaging protocol that handles the encoding, signing, and encrypting of messages to faciliate secure peer-to-peer communication between Bridge Passports. All messages are hex encoded for transport.
- Public Key - the public key of the sending passport
- Payload - the message payload (see below for formats)
An encoded message is a simple message with no signing or encryption.
A signed message contains the signed payload. The the signed message can be verified using the public key and the signature of the payload.
An encrypted message has an encrypted payload. The payload can be verified and decrypted using the public key of the sending passport and the private key of the the receiving passport.