Versions in this module Expand all Collapse all v2 v2.3.2 Nov 21, 2021 Changes in this version + func FindPKCS11Lib() (lib, pin, label string) + type KeyIDMapping struct + ID string + SKI string + type Option func(p *Provider) error + func WithKeyMapper(mapper func([]byte) []byte) Option + type PKCS11Opts struct + AltID string + Hash string + Immutable bool + KeyIDs []KeyIDMapping + Label string + Library string + Pin string + Security int + SoftwareVerify bool + type Provider struct + func New(opts PKCS11Opts, keyStore bccsp.KeyStore, options ...Option) (*Provider, error) + func (csp *Provider) GetKey(ski []byte) (bccsp.Key, error) + func (csp *Provider) KeyGen(opts bccsp.KeyGenOpts) (k bccsp.Key, err error) + func (csp *Provider) Sign(k bccsp.Key, digest []byte, opts bccsp.SignerOpts) ([]byte, error) + func (csp *Provider) Verify(k bccsp.Key, signature, digest []byte, opts bccsp.SignerOpts) (bool, error) Other modules containing this package github.com/waszqt/fabric