Фикс подписей и логики

This commit is contained in:
Данила Селяев 2023-05-25 08:13:55 +04:00
parent 9468358a8d
commit 8d2493e79f
2 changed files with 2 additions and 4 deletions

View File

@ -234,7 +234,7 @@
groupBox1.Size = new Size(513, 191); groupBox1.Size = new Size(513, 191);
groupBox1.TabIndex = 21; groupBox1.TabIndex = 21;
groupBox1.TabStop = false; groupBox1.TabStop = false;
groupBox1.Text = роверка подписи"; groupBox1.Text = одпись документа";
// //
// groupBox2 // groupBox2
// //
@ -252,7 +252,7 @@
groupBox2.Size = new Size(507, 222); groupBox2.Size = new Size(507, 222);
groupBox2.TabIndex = 22; groupBox2.TabIndex = 22;
groupBox2.TabStop = false; groupBox2.TabStop = false;
groupBox2.Text = "groupBox2"; groupBox2.Text = "Проверка подписи";
// //
// buttonCert2 // buttonCert2
// //

View File

@ -138,7 +138,6 @@ public class Engine
fstream.Close(); fstream.Close();
if (!Cryptography.VerifySignedDataByCertIssuer(signature, open_key_path.GetPublicCert(), out var data)) if (!Cryptography.VerifySignedDataByCertIssuer(signature, open_key_path.GetPublicCert(), out var data))
{ {
return true; return true;
} }
else else
@ -150,6 +149,5 @@ public class Engine
{ {
return false; return false;
} }
return false;
} }
} }