protected IEnumerable <T> InternalFindPaged <T>(QueryFilter filter, ObjectId rootId, bool deepSearch, SortBy sortBy, int pageSize) { EncryptionConfigurationTable.RequestData requestData; EncryptionConfigurationData encryptionConfigurationData = EncryptionConfigurationTable.GetEncryptionConfiguration(this.organizationRawIdentity, false, out requestData); yield return((T)((object)this.ConvertStoreObjectToPresentationObject(encryptionConfigurationData))); yield break; }
protected void InternalSave(ConfigurableObject instance) { if (instance == null) { throw new ArgumentNullException("instance"); } EncryptionConfiguration encryptionConfiguration = instance as EncryptionConfiguration; if (encryptionConfiguration == null) { throw new NotSupportedException("Save: " + instance.GetType().FullName); } EncryptionConfigurationTable.SetEncryptionConfiguration(this.organizationRawIdentity, encryptionConfiguration.ImageBase64, encryptionConfiguration.EmailText, encryptionConfiguration.PortalText, encryptionConfiguration.DisclaimerText, encryptionConfiguration.OTPEnabled); }