pub fn claimed_genesis(
descriptor_bytes: &[u8],
chain: &[SignedRootRotation],
) -> Result<PublicKey, DecodeError>Expand description
The claimed genesis key: the first rotation’s old_root, or the descriptor’s
root_public_key when the chain is empty (§4.6).
The key is read from unverified bytes at a fixed offset. It is authenticated only by
verify_chain, which checks that it derives the expected community id, and then by the
signatures it verifies.
§Errors
DecodeError when the bytes are too short or the key has an unknown suite.