# Struct crypto::voice::SignedKeyPackage

> A key package whose signature was made here or verified.

`zaun_community_protocol::crypto::voice::SignedKeyPackage` · Struct

```rust
pub struct SignedKeyPackage(…)
```

A key package whose signature was made here or verified.

## Methods

### `package`

```rust
pub const fn package(&self) -> &KeyPackage
```

The package.

### `hash`

```rust
pub fn hash(&self) -> [u8; 32]
```

`SHA3-256` of the canonical bytes: bound into every key wrapped to this package.

### `to_wire`

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

The wire form: canonical bytes ‖ signature.

## Trait implementations

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

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