fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/pkg/core/cryptosuite/bccsp/sw Index | Files

package sw

import "github.com/hyperledger/fabric-sdk-go/pkg/core/cryptosuite/bccsp/sw"


Package Files


func GetSuite Uses

func GetSuite(securityLevel int, hashFamily string, keyStore bccsp.KeyStore) (core.CryptoSuite, error)

GetSuite returns a new instance of the software-based BCCSP set at the passed security level, hash family and KeyStore.

func GetSuiteByConfig Uses

func GetSuiteByConfig(config core.CryptoSuiteConfig) (core.CryptoSuite, error)

GetSuiteByConfig returns cryptosuite adaptor for bccsp loaded according to given config

func GetSuiteWithDefaultEphemeral Uses

func GetSuiteWithDefaultEphemeral() (core.CryptoSuite, error)

GetSuiteWithDefaultEphemeral returns cryptosuite adaptor for bccsp with default ephemeral options (intended to aid testing)

Package sw imports 7 packages (graph) and is imported by 3 packages. Updated 2018-07-08. Refresh now. Tools for package owners.