cic-custodial/internal/keystore/keystore.go
2022-11-30 09:51:24 +00:00

14 lines
264 B
Go

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)
}