Module tough::sign

source ·
Expand description

Provides the Sign trait which abstracts over the method of signing with different key types.

Enums

Traits

  • This trait must be implemented for each type of key with which you will sign things.

Functions

  • Parses a supplied keypair and if it is recognized, returns an object that implements the Sign trait Accepted Keys: ED25519 pkcs8, Ecdsa pkcs8, RSA