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

import (
	"io"

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

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