cic-custodial/internal/keystore/keystore.go

14 lines
264 B
Go
Raw Permalink Normal View History

2022-11-30 10:51:24 +01:00
package keystore
import (
"context"
"crypto/ecdsa"
"github.com/grassrootseconomics/cic-custodial/pkg/keypair"
)
type Keystore interface {
WriteKeyPair(context.Context, keypair.Key) error
LoadPrivateKey(context.Context, string) (*ecdsa.PrivateKey, error)
}