yubihsm

package
v0.0.0-...-0b06f50 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YubiHsmSigner

type YubiHsmSigner struct {
	PrivateKey crypto.PrivateKey
}

YubiHsmSigner implements signer by YubiHSM secp256k1

func NewYubiHsmSigner

func NewYubiHsmSigner(privateKey interface{}) *YubiHsmSigner

func (*YubiHsmSigner) PublicKey

func (s *YubiHsmSigner) PublicKey() []byte

func (*YubiHsmSigner) Sign

func (s *YubiHsmSigner) Sign(msg []byte) []byte

Jump to

Keyboard shortcuts

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