func NewDecryptorSetting(withZone, wholeMatch, checkPoisonRecord bool, poisonCallbacks *PoisonCallbackStorage, keystore keystore.DecryptionKeyStore) *DecryptorSetting {
	return &DecryptorSetting{
		withZone:          withZone,
		checkPoisonRecord: checkPoisonRecord,
		wholeMatch:        wholeMatch,
		keystore:          keystore,
		poisonCallbacks:   poisonCallbacks,
	}
}
NewDecryptorSetting return new initialized DecryptorSetting
package base
import (
	"github.com/cossacklabs/acra/encryptor/config"
	"github.com/cossacklabs/acra/keystore"
)
type DecryptorSetting struct {
	withZone             bool
	checkPoisonRecord    bool
	wholeMatch           bool
	keystore             keystore.DecryptionKeyStore
	poisonCallbacks      *PoisonCallbackStorage
	encryptorTableSchema config.TableSchemaStore
}
func (setting *DecryptorSetting) EncryptorTableSchema() config.TableSchemaStore {
	return setting.encryptorTableSchema
}
func (setting *DecryptorSetting) PoisonCallbacks() *PoisonCallbackStorage {
	return setting.poisonCallbacks
}
func (setting *DecryptorSetting) Keystore() keystore.DecryptionKeyStore {
	return setting.keystore
}
func (setting *DecryptorSetting) WholeMatch() bool {
	return setting.wholeMatch
}
func (setting *DecryptorSetting) CheckPoisonRecord() bool {
	return setting.checkPoisonRecord
}
func (setting *DecryptorSetting) WithZone() bool {
	return setting.withZone
}