Documentation
¶
Overview ¶
Package didtest provides Personas that can be used for testing. Each Persona has a name, crypto.PrivKey and associated crypto.PubKey and did.DID.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Persona ¶
type Persona int
Persona is a generic participant used for cryptographic testing.
const ( PersonaAlice Persona = iota + 1 PersonaBob PersonaCarol PersonaDan PersonaErin PersonaFrank )
The provided Personas were selected from the first few generic participants listed in this table.
func Personas ¶
func Personas() []Persona
Personas returns an (alphabetically) ordered list of the defined Persona values.
func (Persona) PrivKeyConfig ¶
func (Persona) PubKeyConfig ¶
PubKeyConfig returns the marshaled and encoded Ed25519 public key for the Persona.
Click to show internal directories.
Click to hide internal directories.