onqlavekeymanager

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENCRYPT_RESOURCE_URL string = "oe2/keymanager/encrypt"
	DECRYPT_RESOURCE_URL string = "oe2/keymanager/decrypt"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Credential *onqlavecredentials.Credential
	Retry      *onqlaveconnection.RetrySettings
	ArxURL     string
	Debug      bool
}

type KeyManager

type KeyManager interface {
	FetchEncryptionKey() (edk []byte, dk []byte, algorithm string, err *onqlaveerrors.OnqlaveError)
	FetchDecryptionKey(edk []byte) (dk []byte, err *onqlaveerrors.OnqlaveError)
}

func NewKeyManager

func NewKeyManager(configuration *Configuration, randomService services.CPRNGService) KeyManager

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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