padlocklib

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	ModulesMx *sync.RWMutex
	Modules   map[string]p11.Module
}

Application is a Padlock application, maintaining module and session state for an entire multi-threaded application.

func NewApplication added in v0.2.0

func NewApplication() *Application

NewApplication creates a new Application

func (*Application) Connect

func (p *Application) Connect(path string) (p11.Module, error)

Connect connects to an HSM

Jump to

Keyboard shortcuts

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