Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func New

func New() *Store

func (*Store) DecryptDek

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

func (*Store) EncryptDek

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

func (*Store) RegisterPrivateKey

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

    not safe for concurrent use after boot

    Source Files