digital-signature

ECDSA Digital Signature Verification on Android P

淺唱寂寞╮ 提交于 2021-01-27 13:19:42
问题 import android.os.Bundle; import android.util.Base64; import android.widget.Toast; import org.bouncycastle.jce.provider.BouncyCastleProvider; // implementation 'org.bouncycastle:bcprov-jdk16:1.46' import java.security.KeyFactory; import java.security.PublicKey; import java.security.Security; import java.security.Signature; import java.security.spec.X509EncodedKeySpec; import androidx.appcompat.app.AppCompatActivity; public class MainActivity extends AppCompatActivity { static final String

Sign a PDF with Aspose.Pdf using Belgian Identity Card leads to an SecurityException

雨燕双飞 提交于 2021-01-25 05:04:54
问题 When I try to sign a pdf using Aspose.PDF .net (net core 3.1 version 20.4) using a Belgian ID card I get an exception : error 2148532330 Access was denied because of a security violation. On the id card there are 2 certificates. The first one is an Authentication certifificate. Using this one no issue. The second one is the Signature certificate (non repudiation). The issue appears when using this certificate. I got more information about this error in the eid-middleware-dev google group :

Sign a PDF with Aspose.Pdf using Belgian Identity Card leads to an SecurityException

帅比萌擦擦* 提交于 2021-01-25 05:04:02
问题 When I try to sign a pdf using Aspose.PDF .net (net core 3.1 version 20.4) using a Belgian ID card I get an exception : error 2148532330 Access was denied because of a security violation. On the id card there are 2 certificates. The first one is an Authentication certifificate. Using this one no issue. The second one is the Signature certificate (non repudiation). The issue appears when using this certificate. I got more information about this error in the eid-middleware-dev google group :

Digital Sign PDF File with PHP and laravel

℡╲_俬逩灬. 提交于 2021-01-18 04:38:09
问题 Hello i search a lot before make this question. I know there is a paied option to sign pdf setasign.com I try to use php function: openssl_pkcs7_sign( FULL_PATH . "/pdforiginal.pdf", //ORIGIANL PDF FULL_PATH ."signedPDF.pdf", // SIGNED PDF "file://" . FULL_PATH . "signing_cert.pem", array( "file://" . FULL_PATH. "private_key.pem",""),array()); signing_cert.pem <- // I Dont understand what is this i just have private_key and public_key. I see some examples where people use private_key here. My

Programmatically signed PDF document does not get the green checkmark after being signed using Acrobat Reader

北城余情 提交于 2021-01-07 03:52:58
问题 I have written an application to sign PDF documents and now I am able to sign any non-signed PDF document, and Adobe Reader shows the green checkmark. Moreover I can sign a file with multiple signatures and the results are ok. But if I try to sign the document using Adobe Reader, when I sign it again, the result is that any signature prior to the last one does not get the green checkmark because Acrobat thinks that the document has changed. Then, if I sign the document again using Adobe