// NewSigner creates a new crypto.Signer the given CloudKMS signing key.
NewSigner creates a new crypto.Signer the given CloudKMS signing key.
// NewSigner creates a new crypto . Signer the given CloudKMS signing key .
func NewSigner(c KeyManagementClient, signingKey string) (*Signer, error) {
	signer := &Signer{
		client:     c,
		signingKey: signingKey,
	}
	if err := signer.preloadKey(signingKey); err != nil {
		return nil, err
	}
	return signer, nil
}
func NewSigner ( c KeyManagementClient , signingKey string ) ( * Signer , error ) { signer := & Signer { client : c , signingKey : signingKey , } if err := signer . preloadKey ( signingKey ) ; err != nil { return nil , err } return signer , nil }
NewSigner creates a new crypto.Signer the given CloudKMS signing key.
NewSigner creates a new crypto . Signer the given CloudKMS signing key .
// Make sure that the key exists.