Documentation
¶
Overview ¶
package alg_ed25519 provides a signer and verifier for ed25519
Index ¶
Constants ¶
View Source
const Ed25519Alg = "ed25519"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ed25519 ¶
type Ed25519 struct {
PrivateKey ed25519.PrivateKey
PublicKey ed25519.PublicKey
Attrs any
}
func (Ed25519) Attributes ¶
func (Ed25519) ContentDigest ¶
func (a Ed25519) ContentDigest() contentdigest.Digester
type SingleKeyDirectory ¶
SingleKeyDirectory implements the verifier.KeyDirectory interface. It returns a static key regardless of the provided Key ID argument.
Click to show internal directories.
Click to hide internal directories.