FastATP

SoftwareSigner

A class in fastatp.crypto (source).

SoftwareSigner(private_key: PrivateKey)

A Signer 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

Methods

sign

async sign(message: bytes) -> bytes