http

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(addr string) error

Types

type EncryptionServer

type EncryptionServer interface {
	chi.Router

	CreateKey(w http.ResponseWriter, r *http.Request)
	ReadKey(w http.ResponseWriter, r *http.Request)
	DeleteKey(w http.ResponseWriter, r *http.Request)
	ListKeys(w http.ResponseWriter, r *http.Request)
	Encrypt(w http.ResponseWriter, r *http.Request)
	Decrypt(w http.ResponseWriter, r *http.Request)
	Hash(w http.ResponseWriter, r *http.Request)
	GenerateHMAC(w http.ResponseWriter, r *http.Request)
	Sign(w http.ResponseWriter, r *http.Request)
	VerifySigned(w http.ResponseWriter, r *http.Request)
	Rewrap(w http.ResponseWriter, r *http.Request)
	UpdateKeyConfiguration(w http.ResponseWriter, r *http.Request)
	RotateKey(w http.ResponseWriter, r *http.Request)
	ExportKey(w http.ResponseWriter, r *http.Request)
	BackupKey(w http.ResponseWriter, r *http.Request)
	RestoreKey(w http.ResponseWriter, r *http.Request)
	GenerateKey(w http.ResponseWriter, r *http.Request)
	GenerateRandomBytes(w http.ResponseWriter, r *http.Request)
	Health(w http.ResponseWriter, r *http.Request)

	Init()
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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