45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
|
|
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);
|
|
}
|
|
}
|