pub fn create_gateway_remove_message(
federation_public_key: PublicKey,
peer_id: PeerId,
challenge: Hash,
) -> Message
Expand description
Creates a message to be signed by the Gateway’s private key for the purpose of removing the gateway’s registration record. Message is defined as:
msg = sha256(tag + federation_public_key + peer_id + challenge)
Tag is always remove_gateway
. Challenge is unique for the registration
record and acquired from each guardian prior to the removal request.