Documentation ¶
Index ¶
- func NewSecureIdentity(pathToKeyAndCert, mspID, addr, apiKey, endpoint, instanceID string, ...) (secureSigningID msp.SigningIdentity, err error)
- type ProviderFactory
- func (p ProviderFactory) CreateCryptoSuiteProvider(config core.CryptoSuiteConfig) (core.CryptoSuite, error)
- func (p ProviderFactory) CreateInfraProvider(config fab.EndpointConfig) (fab.InfraProvider, error)
- func (p ProviderFactory) CreateSigningManager(cryptoProvider core.CryptoSuite) (core.SigningManager, error)
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)
Click to show internal directories.
Click to hide internal directories.