pkcs11

package module
v0.0.0-...-03194f7 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config HSMConfig) (security.SecureModule, error)

New creates an instance of HSM Secure module used to sign and crypt information

func NewCloudHSM

func NewCloudHSM(config HSMConfig) (security.SecureModule, error)

NewCloudHSM creates an instance of HSM Secure module used to sign and crypt information based on AWS CloudHSM

Types

type HSMConfig

type HSMConfig struct {
	Path                   string
	Pin                    string
	Label                  string
	SymmetricCapabilities  map[string][]int
	AsymmetricCapabilities map[string][]int
}

HSMConfig setup the HSM library to be used

Jump to

Keyboard shortcuts

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