dal

package
v0.408.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 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

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

func (*DAL) UpdateVerificationKeys

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

type VerificationKeys

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

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

Jump to

Keyboard shortcuts

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