digital-signature

Error calling CreateEnvelope : TAB_PAGE_NUMBER_NOT_SPECIFIED

一世执手 提交于 2019-12-06 14:48:11
I am a beginner in DocuSign API programming. I have a .cshtml page for create envelope for sending to customer. When I try to create envelop from DocuSign API it shows error message like: Page number not specified in tab element. Page Number or AnchorTabItem missing for tab \"SignHere\"." Please see my HTML and code below. Html <span> <br /> <br /> <span><b>SIGNATURE:</b></span> <span style="color:white;">pleasesignhereBP</span> <br /> <br /> <span><b>DATE:</b></span><span style="color:white;">pleasedatehereBP</span> <br /> <br /> </span> Code SignerModel objPerson = new SignerModel();

OpenSSL not enough data

孤街浪徒 提交于 2019-12-06 14:22:27
I've generated a self signed certificate using Adobe X, and exported a pfx file (for my private key) along with a .cer file (for the certificate). I then try to collect the certificate, along with the key, but for some reason, OpenSSL is giving the error OpenSSL::X509::CertificateError: not enough data Here is my code require 'openssl' CERTFILE = "test.cer" RSAKEYFILE = "test.pfx" # Open certificate files cert = OpenSSL::X509::Certificate.new(File.read CERTFILE) key = OpenSSL::PKey::RSA.new(File.read RSAKEYFILE ) My certificate was generated using Adobe X reader, and is a self-signed

Signing using iText, Adobe Reader reports “Signature was created using Not available.”

点点圈 提交于 2019-12-06 12:12:21
I am successfully signing documents using iText. However, any time that I check the "Advanced Signature Properties" in Adobe Reader I see that the "Signature was created using Not available." My question is, how can I use iText update this piece of information to then display properly in Adobe Reader or any other PDF reader? EDIT #1: An answer suggested using the PdfSignatureAppearance class's setSignatureCreator(String signatureCreator) ( API and Source ). This was not successful in updating the Signature Details in Adobe Reader. The result is the same as the screenshot included above. Here

Different RSA signatures when using OpenSSL and Android

我的未来我决定 提交于 2019-12-06 11:31:00
问题 After looking through SO at similar questions, i have yet to find the answer. I am singing a document using both openssl rsautl -sign ... and openssl dgst -sign ... Both options obviously provide different outputs. My problem is, when i sign my file on the android application using : public byte[] signData(byte[] data, PrivateKey privateKey) { Signature signature = null; try { signature = Signature.getInstance("SHA256withRSA"); signature.initSign(privateKey); signature.update(data); return

Digitally Sign DATA, Not Documents [closed]

五迷三道 提交于 2019-12-06 10:43:06
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . What constitutes a "legal" digital signature for a web form (not a document)? OPTION 1 : I worked on a project where a doctor makes notes on the health of a patient. When the web form is submitted a PDF is generated and digitally signed with a digital .CER certificate and the PDF is saved to the file system. Each doctor had their own .CER file and password which was a real PITA to maintain and the overhead of

How to programmatically remove the digital signature from VBA macros in Excel?

最后都变了- 提交于 2019-12-06 10:35:48
Is there any way to programmatically remove the digital signature from the VBA macros of an Excel sheet? i.e. code that is equivalent to entering the VBA editor, going to Tools menu -> Digital Signature and clicking Remove. Interesting question. It's deliberately not part of the Excel object model for security reasons. It is possible to remove the certificate from the certificate store. This requires Win32 api calls (which can be made from VB6 or VBA but I'm not sure of the exact effect on your project once you do this... It will definately invalidate the certificate, but I don't know if it

Digital Signature (PKCS#7 - Deferred Signing) / The document has been altered or corrupted since the signature was applied

若如初见. 提交于 2019-12-06 10:23:22
I have gone through all similar questions but could not find a case where itextsharp deferred signing is applied. Basically, my application signs pdf documents using PKCS#7 signature that is created by remote web service. My application sends this web service the hash of the original document (hash of the signable bytes after empty signature field is added), and receives a Base64 encoded signature file. I embed this signature to previously generated temporary pdf file which has empty signature field. At the end my signature is not validated because Adobe Reader says that either the document is

How to sign signature data using bouncy castle?

a 夏天 提交于 2019-12-06 09:43:14
问题 **This is my code to sign a String.</br>** package my.package; import java.io.FileInputStream; import java.security.Key; import java.security.KeyStore; import java.security.PrivateKey; import java.security.Security; import java.security.Signature; import java.security.cert.X509Certificate; import java.util.ArrayList; import java.util.List; import org.bouncycastle.cert.jcajce.JcaCertStore; import org.bouncycastle.cms.CMSProcessableByteArray; import org.bouncycastle.cms.CMSSignedData; import

Check signature of OSX bundle before load

佐手、 提交于 2019-12-06 09:06:35
Goal: Load .so/.bundle that has been verified to be signed (or verified against an arbitrary algorithm). I want to be able to verify a .so/.bundle either using OSX's builtin binary signature tools or some custom algorithm and then load that .so/.bundle with dlopen... The wrench in this is that there seems to be no programmatic way to check-then-load. One could check the file manually and then load it after.. however there is a window-of-opportunity within which someone could swap out that file for another. Since filesystem locks are advisory in OSX, they are not so useful for this purpose. You

Infinite loop using AndroidKeyStore authentication

China☆狼群 提交于 2019-12-06 09:05:14
问题 My application enters an infinite loop when I use the AndroidKeyStore requiring user authentication to use the keys .setUserAuthenticationRequired(true); .setUserAuthenticationValidityDurationSeconds(60); It is assumed that an operation that uses a user's private key requires that the device has been unlocked, otherwise a UserNotAuthenticatedException is generated. The app must present the device authentication screen, and the next usage of the key will work. But, in my case always is thrown