EchoTex_Payroll/HRM.BO/PGPEncryption/PGPEncryption.cs

45 lines
1.3 KiB
C#
Raw Permalink Normal View History

2024-10-14 10:01:49 +06:00

using Ease.Core.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
namespace HRM.BO
{
public class PGPEncryption : BasicBaseObject
{
#region ctr
public PGPEncryption() { }
#endregion
//#region Service Factory
//internal static IPGPEncryptionService Service
//{
// get { return Services.Factory.CreateService<IPGPEncryptionService>(typeof(IPGPEncryptionService)); }
//}
//#endregion
//#region Public Methods
//public FileInfo EncryptFile(string sourceFile, string encryptedFile)
//{
// this.SetAuditTrailProperties();
// return PGPEncryption.Service.EncryptFile(sourceFile, encryptedFile);
//}
//public FileInfo DecryptFile(string passPhase, string encryptedSourceFile, string decryptedFile)
//{
// this.SetAuditTrailProperties();
// return PGPEncryption.Service.DecryptFile(passPhase, encryptedSourceFile, decryptedFile);
//}
//#endregion
}
public interface IPGPEncryptionService
{
//FileInfo EncryptFile(string sourceFile, string encryptedFile);
//FileInfo DecryptFile(string PassPhase, string encryptedSourceFile, string decryptedFile);
}
}