# Struct crypto::voice::SignedSenderKeys

> A sender-keys message whose signature was made here or verified.

`zaun_community_protocol::crypto::voice::SignedSenderKeys` · Struct

```rust
pub struct SignedSenderKeys(…)
```

A sender-keys message whose signature was made here or verified.

## Methods

### `keys`

```rust
pub const fn keys(&self) -> &SenderKeys
```

The statement.

### `wrap_context`

```rust
pub const fn wrap_context(&self) -> WrapContext
```

The HPKE context of this epoch.

### `entry_for`

```rust
pub fn entry_for(&self, own: &SignedKeyPackage, wrapped: &WrappedKey) -> Result<&RecipientEntry, VoiceError>
```

The entry for `own`, after checking that `wrapped` is the key the sender signed for it.

# Errors
`VoiceError::NotARecipient` or `VoiceError::WrappedHash`.

### `to_wire`

```rust
pub fn to_wire(&self) -> Result<Vec<u8>, VoiceError>
```

The wire form: `u32` length ‖ canonical bytes ‖ signature.

# Errors
`VoiceError::Encode` (never expected: the bytes were checked when made).

## Trait implementations

`Clone`, `Debug`, `Eq`, `PartialEq`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/crypto/voice/sender/struct.SignedSenderKeys.html)
