hpcs

package
v0.0.0-...-9a3149e Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSecureIdentity

func NewSecureIdentity(pathToKeyAndCert, mspID, addr, apiKey, endpoint, instanceID string, unwrapInterval int) (
	secureSigningID msp.SigningIdentity, err error)

NewSecureIdentity creates an identity instance to do signing operation

Types

type ProviderFactory

type ProviderFactory struct{}

func NewProviderFactory

func NewProviderFactory() *ProviderFactory

func (ProviderFactory) CreateCryptoSuiteProvider

func (p ProviderFactory) CreateCryptoSuiteProvider(config core.CryptoSuiteConfig) (core.CryptoSuite, error)

func (ProviderFactory) CreateInfraProvider

func (p ProviderFactory) CreateInfraProvider(config fab.EndpointConfig) (fab.InfraProvider, error)

func (ProviderFactory) CreateSigningManager

func (p ProviderFactory) CreateSigningManager(cryptoProvider core.CryptoSuite) (core.SigningManager, error)

Jump to

Keyboard shortcuts

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