Фикс подписей и логики
This commit is contained in:
parent
9468358a8d
commit
8d2493e79f
4
AppView/FormMain.Designer.cs
generated
4
AppView/FormMain.Designer.cs
generated
@ -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
|
||||||
//
|
//
|
||||||
|
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user