Versions in this module Expand all Collapse all v0 v0.4.0 May 5, 2025 v0.3.0 Feb 1, 2025 Changes in this version + const KeyType + const SigNamespace + func NewKeyFromBytes(t *testing.T, keyB []byte) *signerverifier.SSLibKey + func NewKeyFromFile(path string) (*signerverifier.SSLibKey, error) + type Signer struct + Path string + func NewSignerFromFile(path string) (*Signer, error) + func (s *Signer) Sign(_ context.Context, data []byte) ([]byte, error) + type Verifier struct + func NewVerifierFromKey(key *signerverifier.SSLibKey) (*Verifier, error) + func (v *Verifier) KeyID() (string, error) + func (v *Verifier) MetadataKey() *signerverifier.SSLibKey + func (v *Verifier) Public() crypto.PublicKey + func (v *Verifier) Verify(_ context.Context, data []byte, sig []byte) error