aboutsummaryrefslogtreecommitdiff
path: root/pkg/signatures/minisign/minisign.go
blob: 8d8a9c409d72ddc60e99e828aa6185a13b0d8876 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package minisign

import (
	"fmt"
	"io"

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

type Parser struct{}

func (p *Parser) SignatureSuffix() string {
	return ".minisig"
}

func (p *Parser) PublicKey(r io.Reader) (*types.PublicKey, error) {
	return nil, fmt.Errorf("TODO")
}

func (p *Parser) Signature(r io.Reader) (*types.Signature, error) {
	return nil, fmt.Errorf("TODO")
}