p11sign

package
v0.0.0-...-63b4729 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindPublicKeyObject

func FindPublicKeyObject(sess p11.Session, pubKey crypto.PublicKey) (p11.Object, error)

func NewKey

func NewKey(sess p11.Session, id []byte) (*p11Key, error)

Types

type PublicKey

type PublicKey interface {
	crypto.PublicKey

	Equal(pk crypto.PublicKey) bool
}

func GetP11PublicKey

func GetP11PublicKey(pk p11.PublicKey) (PublicKey, error)

Jump to

Keyboard shortcuts

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