func GetSuiteByConfig(config apiconfig.Config) (apicryptosuite.CryptoSuite, error) {
	if config.SecurityProvider() != "SW" {
		return nil, errors.Errorf("Unsupported BCCSP Provider FFFFFFFF: %s", config.SecurityProvider())
	}
	opts := getOptsByConfig(config)
	bccsp, err := getBCCSPFromOpts(opts)
	if err != nil {
		return nil, err
	}
	return wrapper.NewCryptoSuite(bccsp), nil
}
GetSuiteByConfig returns cryptosuite adaptor for bccsp loaded according to given config
package sw
import (
	"github.com/hyperledger/fabric-sdk-go/api/apiconfig"
	"github.com/hyperledger/fabric-sdk-go/api/apicryptosuite"
	"github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/bccsp"
	bccspSw "github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/bccsp/factory/gm"
	"github.com/hyperledger/fabric-sdk-go/pkg/cryptosuite/bccsp/wrapper"
	"github.com/hyperledger/fabric-sdk-go/pkg/logging"
	"github.com/pkg/errors"
)
var logger = logging.NewLogger("fabric_sdk_go")