private void NewRSACustomEncryptionInstance(Boolean importedKeyData, Object[] keyData) { if (importedKeyData) { rSACE = new RSACustomEncryption(keyData); } else { rSACE = new RSACustomEncryption(keyData); rSACE.KeySize = Properties.AppSettings.Default.keySize; } }
private void ParamsToDefault() { this.rSACE = null; this.fileLoaded = false; }