SimpleVerifyingKeyInterface
type SimpleVerifyingKeyInterface
type SimpleVerifyingKeyInterface interface {
PublicKey() *PublicKey
Scheme() SignatureScheme
// Serialize this private key as DER-encoded PKCS#8
ToDer() ([]byte, error)
// Serialize this private key as DER-encoded PKCS#8
ToPem() (string, error)
Verify(message []byte, signature *SimpleSignature) error
}