示例#1
0
        public frmRemoveDigitalSignatures(List <FileHistory> documents)
        {
            InitializeComponent();

            removeSignaturesActionType = removeSignaturesType.removeAllSignatures;
            selectedDocumentsToRemoveDigitalSignature = documents;

            LastBackedUpFolder = Registry.CurrentUser.OpenSubKey(@"Software\LTIA\Assinador Digital", true);
            txtPath.Text       = (LastBackedUpFolder.GetValue("LastBackUpFolder") ?? "").ToString();
        }
示例#2
0
        public frmAddDigitalSignature(List <FileHistory> selectedItens, bool showCheckBoxViewDocuments)
        {
            InitializeComponent();
            compatibleDocumentsList = selectedItens;

            chkViewDocuments.Checked     = showCheckBoxViewDocuments;
            chkViewDocuments.Visible     = showCheckBoxViewDocuments;
            chkIncludeSubfolders.Visible = showCheckBoxViewDocuments;

            LastBackedUpFolder = Registry.CurrentUser.OpenSubKey(@"Software\LTIA\Assinador Digital", true);
            txtPath.Text       = (LastBackedUpFolder.GetValue("LastBackUpFolder") ?? "").ToString();

            CertificateUtils.VerifyConsultCRL();
        }