public CertificateIdentifier ShowDialog(CertificateStoreIdentifier store)
{
CertificateStoreCTRL.StoreType = null;
CertificateStoreCTRL.StorePath = null;
ApplicationNameTB.Text = null;
SubjectNameTB.Text = null;
KeySizeCB.SelectedIndex = 0;
LifeTimeInMonthsUD.Value = 60;
if (store != null)
{
CertificateStoreCTRL.StoreType = store.StoreType;
CertificateStoreCTRL.StorePath = store.StorePath;
}
if (ShowDialog() != DialogResult.OK)
{
return null;
}
return m_certificate;
}
#endregion