client_side_encryption

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BodyParser

type BodyParser struct {
	PrivateKey        any
	KeyIdentifier     string
	KeyAlgorithm      jwe.KeyAlgorithm
	ContentEncryption jwe.ContentEncryption
}

func NewBodyParser

func NewBodyParser(privateKey any, options ...body_parser_config.Option) (*BodyParser, error)

func (*BodyParser) Parse

func (p *BodyParser) Parse(_ *http.Request, body []byte) ([]byte, *response_error.ResponseError)

type HeaderParser

type HeaderParser struct {
	KeyAlgorithm      jwe.KeyAlgorithm
	ContentEncryption jwe.ContentEncryption
	ContentType       string
	// contains filtered or unexported fields
}

func NewHeaderParser

func NewHeaderParser(options ...header_parser_config.Option) (*HeaderParser, error)

func (*HeaderParser) Parse

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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