jwe

package
v0.0.0-...-31ecfee Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct{}

func New

func New() *Module

func (*Module) DecryptAsString

func (m *Module) DecryptAsString(key *jose.JSONWebKey, ciphertext string) (string, error)

func (*Module) Encrypt

func (m *Module) Encrypt(key *jose.JSONWebKey, payload string, encAlg jose.ContentEncryption, algorithm jose.KeyAlgorithm) (string, error)

Jump to

Keyboard shortcuts

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