aboutsummaryrefslogtreecommitdiff
path: root/pkg/signatures/signatures.go
blob: 184c8f3ca04a3ea625a895651dd3ff6394da8128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package signatures

import (
	"io"

	"git.sigsum.org/sigsum-lib-go/pkg/types"
)

type Parser interface {
	PublicKey(io.Reader) (*types.PublicKey, error)
	Signature(io.Reader) (*types.Signature, error)
	SignatureSuffix() string
}