Skip to content

Commit

Permalink
[FAB-5878] - Implement "Connection Profile" for SDK-GO
Browse files Browse the repository at this point in the history
Change-Id: Ie04c38a056fd7e4f239760109a0ab8f29a75c6f4
Signed-off-by: Baha Shaaban <baha.shaaban@securekey.com>
  • Loading branch information
Baha Shaaban committed Sep 20, 2017
1 parent e60551c commit a8c601e
Show file tree
Hide file tree
Showing 19 changed files with 974 additions and 493 deletions.
6 changes: 3 additions & 3 deletions api/apiconfig/config.go → api/apiconfig/configprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (

// Config fabric-sdk-go configuration interface
type Config interface {
Client() (*ClientConfig, error)
CAConfig(org string) (*CAConfig, error)
CAServerCertFiles(org string) ([]string, error)
CAClientKeyFile(org string) (string, error)
Expand All @@ -30,15 +31,14 @@ type Config interface {
IsTLSEnabled() bool
SetTLSCACertPool(*x509.CertPool)
TLSCACertPool(tlsCertificate string) (*x509.CertPool, error)
TcertBatchSize() int
IsSecurityEnabled() bool
SecurityAlgorithm() string
SecurityLevel() int
SecurityProvider() string
Ephemeral() bool
SecurityProviderLibPath() string
SoftVerify() bool
SecurityProviderPin() string
SecurityProviderLabel() string
SoftVerify() bool
KeyStorePath() string
CAKeyStorePath() string
CryptoConfigPath() string
Expand Down

0 comments on commit a8c601e

Please sign in to comment.