stokeystore

package
v0.0.0-...-ea0be71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL