Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ED25519Config ¶
type ED25519Config struct { PublicKey *ed25519.PublicKey PrivateKey *ed25519.PrivateKey }
func NewED25519Config ¶
func NewED25519Config() *ED25519Config
func (*ED25519Config) Marshall ¶
func (c *ED25519Config) Marshall() ([]byte, error)
func (*ED25519Config) Unmarshall ¶
func (c *ED25519Config) Unmarshall(data []byte) error
func (*ED25519Config) Verify ¶
func (c *ED25519Config) Verify(foreignPublicKey *ED25519Config, signatureJson []byte) (bool, error)
type ED25519Signature ¶
func (*ED25519Signature) Marshall ¶
func (c *ED25519Signature) Marshall() ([]byte, error)
func (*ED25519Signature) Unmarshall ¶
func (c *ED25519Signature) Unmarshall(data []byte) error
Click to show internal directories.
Click to hide internal directories.