dal

package
v0.368.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DAL

type DAL struct {
	*libdal.Handle[DAL]
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, conn libdal.Connection) *DAL

func (*DAL) EnsureKey

func (d *DAL) EnsureKey(ctx context.Context, generateKey func() ([]byte, error)) (encryptedKey []byte, err error)

func (*DAL) GetVerificationKeys added in v0.363.0

func (d *DAL) GetVerificationKeys(ctx context.Context) (keys VerificationKeys, err error)

func (*DAL) UpdateVerificationKeys added in v0.363.0

func (d *DAL) UpdateVerificationKeys(ctx context.Context, keys VerificationKeys) (err error)

type VerificationKeys added in v0.363.0

type VerificationKeys struct {
	VerifyTimeline api.OptionalEncryptedTimelineColumn
	VerifyAsync    api.OptionalEncryptedAsyncColumn
}

VerificationKeys contains the verification keys for the timeline and async encryption.

Directories

Path Synopsis
internal
sql

Jump to

Keyboard shortcuts

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