Module tough::sign[][src]

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

Enums

SignKeyPair

Keypair used for signing metadata

Traits

Sign

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

Functions

parse_keypair

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