func NewSigningManager(cryptoProvider apicryptosuite.CryptoSuite, config apiconfig.Config) (*SigningManager, error) {
	return &SigningManager{cryptoProvider: cryptoProvider, hashOpts: cryptosuite.GetSHA256Opts()}, nil
}
NewSigningManager Constructor for a signing manager.
@param {BCCSP} cryptoProvider - crypto provider
@param {Config} config - configuration provider
@returns {SigningManager} new signing manager
package signingmgr
import (
	"github.com/hyperledger/fabric-sdk-go/api/apiconfig"
	"github.com/hyperledger/fabric-sdk-go/api/apicryptosuite"
	"github.com/hyperledger/fabric-sdk-go/pkg/cryptosuite"
	"github.com/pkg/errors"
)
type SigningManager struct {
	cryptoProvider apicryptosuite.CryptoSuite
	hashOpts       apicryptosuite.HashOpts
	signerOpts     apicryptosuite.SignerOpts
}