varasto: github.com/function61/varasto/pkg/stoserver/stokeystore Index | Files

package stokeystore

import "github.com/function61/varasto/pkg/stoserver/stokeystore"

Index

Package Files

keystore.go

type Store Uses

type Store struct {
    // contains filtered or unexported fields
}

func New Uses

func New() *Store

func (*Store) DecryptDek Uses

func (k *Store) DecryptDek(kenv stotypes.KeyEnvelope) ([]byte, error)

func (*Store) EncryptDek Uses

func (k *Store) EncryptDek(dekId string, dek []byte, kekPubKeyFingerprints []string) (*stotypes.KeyEnvelope, error)

func (*Store) RegisterPrivateKey Uses

func (k *Store) RegisterPrivateKey(rsaPrivKeyPemPkcs1 string) error

not safe for concurrent use after boot

Package stokeystore imports 10 packages (graph) and is imported by 1 packages. Updated 2020-09-24. Refresh now. Tools for package owners.