47 lines
831 B
C#
47 lines
831 B
C#
using System;
|
|
|
|
namespace Novell.CASA.MiCasa.Common
|
|
{
|
|
/// <summary>
|
|
/// Summary description for ExportSecrets.
|
|
/// </summary>
|
|
///
|
|
[Serializable]
|
|
public class ExportXMLSecrets
|
|
{
|
|
private string m_sMasterPassword = null;
|
|
private string m_sPassphrase = null;
|
|
private string m_sFilePath = null;
|
|
|
|
public ExportXMLSecrets(string sMasterPassword, string sPassphrase, string sFilePath)
|
|
{
|
|
m_sMasterPassword = sMasterPassword;
|
|
|
|
if (sPassphrase != null)
|
|
{
|
|
m_sPassphrase = sPassphrase;
|
|
}
|
|
|
|
if (sFilePath != null)
|
|
{
|
|
m_sFilePath = sFilePath;
|
|
}
|
|
}
|
|
|
|
public string GetMasterPassword()
|
|
{
|
|
return m_sMasterPassword;
|
|
}
|
|
|
|
public string GetPassphrase()
|
|
{
|
|
return m_sPassphrase;
|
|
}
|
|
|
|
public string GetFilePath()
|
|
{
|
|
return m_sFilePath;
|
|
}
|
|
}
|
|
}
|