handlers

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivateKey

func ActivateKey(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

ActivateKey: usage 'activate uid=<value>' to activate unique identifier

func Banner(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

Banner: usage 'banner title=<value>' to print a separator banner with a title

func Certs

func Certs(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

Certs: usage 'certs [ca=<value>] [key=<value>] [cert=<value>]' to set certificate PEM files

func ClearKey added in v1.0.0

func ClearKey(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

ClearKey: usage 'clear id=<value>' to locate, revoke, and destroy a key based on id and uid

func Close

func Close(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

Close: Close the TLS connection

func CreateKey

func CreateKey(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

CreateKey: usage 'create id=<value>' to create a new kmip cryptographic key

func DestroyKey

func DestroyKey(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

DestroyKey: usage 'destroy uid=<value>' to destroy a key based on uid

func Discover

func Discover(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

Discover: Discover versions supported by a KMS Server

func Env

func Env(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

Env: usage 'env' to display all configuration settings

func Execute

func Execute(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

Execute: execute a handler with the text line

func GetAttribute added in v1.0.0

func GetAttribute(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

GetAttribute: usage 'destroy uid=<value>' to destroy a key based on uid

func GetKey

func GetKey(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

GetKey: usage 'get uid=<value>' to retrieve kmip cryptographic key material

func Help

func Help(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

func Initialize

func Initialize()

Initialize: initialize the list of handlers

func Load

func Load(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

Load: usage 'load file=<value>' to load configuration settings from a file

func LocateKey

func LocateKey(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

LocateKey: usage 'locate id=<value>' to return the uid of the id, where id is required

func Open

func Open(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

Open: Read PEM files and establish a TLS connection with the KMS server

func Query

func Query(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

Query: Query the KMS Server with a specified operation

func RegisterKey added in v1.0.0

func RegisterKey(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

Register:

func RevokeKey

func RevokeKey(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

RevokeKey: usage 'revoke uid=<value>' to revoke a key based on uid

func Run

func Run(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

Run: usage 'run file=<value>' to execute all commands in a file

func Set

func Set(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

Set: usage 'set [level=<value>] [ip=<value>] [port=<value>] [name=<value>]' to change a configuration setting

func Version

func Version(ctx context.Context, settings *kmipapi.ConfigurationSettings, line string)

Version: usage 'version [major=<value>] [minor=<value>]' to set KMIP protocol version

Types

Jump to

Keyboard shortcuts

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