sw

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSuite

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

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

GetSuiteByConfig returns cryptosuite adaptor for bccsp loaded according to given config

func GetSuiteWithDefaultEphemeral

func GetSuiteWithDefaultEphemeral() (core.CryptoSuite, error)

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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