Ed25519VerifyingKeyInterface
type Ed25519VerifyingKeyInterface
type Ed25519VerifyingKeyInterface interface {
PublicKey() *Ed25519PublicKey
// Serialize this public key as DER-encoded data
ToDer() ([]byte, error)
// Serialize this public key into PEM format
ToPem() (string, error)
Verify(message []byte, signature *Ed25519Signature) error
VerifySimple(message []byte, signature *SimpleSignature) error
VerifyUser(message []byte, signature *UserSignature) error
}