code: func getOptsByConfig(c core.CryptoSuiteConfig) *bccspSw.SwOpts {
  	opts := &bccspSw.SwOpts{
  		HashFamily: c.SecurityAlgorithm(),
  		SecLevel:   c.SecurityLevel(),
  		FileKeystore: &bccspSw.FileKeystoreOpts{
  			KeyStorePath: c.KeyStorePath(),
  		},
  	}
  	logger.Debug("Initialized SW cryptosuite")
  
  	return opts
  }
docs: //GetOptsByConfig Returns Factory opts for given SDK config