Skip to main content

Secp256r1VerifyingKeyInterface

type Secp256r1VerifyingKeyInterface

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