Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keystore ¶
type Keystore interface { WriteKeyPair(context.Context, keypair.Key) error LoadPrivateKey(context.Context, string) (*ecdsa.PrivateKey, error) }
func NewPostgresKeytore ¶
type PostgresKeystore ¶
type PostgresKeystore struct {
// contains filtered or unexported fields
}
func (*PostgresKeystore) LoadPrivateKey ¶
func (ks *PostgresKeystore) LoadPrivateKey(ctx context.Context, publicKey string) (*ecdsa.PrivateKey, error)
func (*PostgresKeystore) WriteKeyPair ¶
Click to show internal directories.
Click to hide internal directories.