pkcs11

package
v0.0.0-...-0681762 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2015 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package pkcs11 implements support for PKCS #11 signers. If the package has not been built with the `pkcs11` tag, the `New` function will be a stub.

Index

Constants

View Source
const Enabled = true

Enabled is set to true if PKCS #11 support is present.

Variables

This section is empty.

Functions

func New

func New(caCertFile string, policy *config.Signing, cfg *Config) (signer.Signer, error)

New returns a new PKCS #11 signer.

Types

type Config

type Config struct {
	Module string
	Token  string
	PIN    string
	Label  string
}

Config contains configuration information required to use a PKCS #11 key.

Jump to

Keyboard shortcuts

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