fieldmigration

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValueResult

type ValueResult struct {
	Ciphertext []byte
	AlreadyV4  bool
	Headerless bool
}

ValueResult describes the migration decision for one encrypted field value.

func MigrateValue

func MigrateValue(svc *dataencryption.Service, ciphertext []byte, domain string, identity string) (*ValueResult, error)

MigrateValue rewrites a single persisted encrypted field to MSEH v4 when it is legacy MSEH or explicitly allowed headerless data.

Jump to

Keyboard shortcuts

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