# Function signed::claimed_genesis

> The **claimed** genesis key: the first rotation's `old_root`, or the descriptor's `root_public_key` when the chain is empty.

`zaun_community_protocol::signed::claimed_genesis` · Function

```rust
pub fn claimed_genesis(descriptor_bytes: &[u8], chain: &[SignedRootRotation]) -> Result<PublicKey, DecodeError>
```

The **claimed** genesis key: the first rotation's `old_root`, or the descriptor's
`root_public_key` when the chain is empty.

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.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/signed/rotation/chain/fn.claimed_genesis.html)
