# `SoftwareSigner`

A class in `fastatp.crypto` ([source](https://github.com/jacoblapenna/fastatp/blob/main/fastatp/crypto.py#L232)).

```python
SoftwareSigner(private_key: PrivateKey)
```

A [`Signer`](https://fastatp.com/api/signer.md) holding a `cryptography` private key in memory.

The in-memory pen for native peers and tests; every API that takes a
`PrivateKey` wraps it in one of these (`as_signer`).

## Attributes

- `public_key: PublicKey`

## Methods

### `sign`

```python
async sign(message: bytes) -> bytes
```
