Documentation ¶ Index ¶ Constants type Method func FromPem(pemKey string) (*Method, error) func (method *Method) GetName() string func (method *Method) Sign(message []byte) ([]byte, error) func (method *Method) Verify(message []byte, signature []byte) error Constants ¶ View Source const Name = "EdDSA" Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Method ¶ type Method struct { PrivateKey ed25519.PrivateKey PublicKey ed25519.PublicKey } func FromPem ¶ func FromPem(pemKey string) (*Method, error) func (*Method) GetName ¶ func (method *Method) GetName() string func (*Method) Sign ¶ func (method *Method) Sign(message []byte) ([]byte, error) func (*Method) Verify ¶ func (method *Method) Verify(message []byte, signature []byte) error Source Files ¶ View all Source files eddsa.go Click to show internal directories. Click to hide internal directories.