sealer

package
v0.0.0-...-f6f694c Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sealer

type Sealer struct {
	// contains filtered or unexported fields
}

Sealer manages the sealing identity (private key) used to decrypt.

func LoadOrCreate

func LoadOrCreate(stateDir string) (*Sealer, error)

LoadOrCreate loads an identity from state dir; creates if missing.

func (*Sealer) DecryptArmored

func (s *Sealer) DecryptArmored(armored string) ([]byte, error)

DecryptArmored decrypts saltpack-armored ciphertext into plaintext.

func (*Sealer) PublicKey

func (s *Sealer) PublicKey() string

Jump to

Keyboard shortcuts

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