Questions tagged [digital-signature]
mathematical scheme for demonstrating the authenticity of a digital message or document (Wikipedia). A cryptographic toolkit is often used along with a public-private key pair to digitally sign a message and to verify a message.
digital-signature
3,575
questions
0
votes
0
answers
33
views
How to sign Excel file programmatically in c# application
I have some long-existing code that uses Microsoft.Office.Interop.Excel.Application to manipulate Excel files, and then serves those files to client browsers in response to HTTP requests. This ...
0
votes
0
answers
26
views
Need to extend the certificate profile validity on Azure trusted signing accounts
I have created a Private certificate profile in azure trusted signing account method. But it was valid for 3 days only, after 3 days, the certificate profile will get auto-renewal for next 3 days. How ...
0
votes
0
answers
52
views
Generating RSA Signature in C# Without CRT Parameters Using System.Security.Cryptography or BouncyCastle
I'm working on a C# application (Framework 4.7.2, Visual Studio 2019, upgrading is not an option) that needs to generate a signature for a given sequence of bytes using RSA. My dataset contains only ...
0
votes
0
answers
13
views
Guidance on Using HSM-Generated Code Signing Certificates on Virtual Machines with Developer RDP Access
I am planning to purchase a code signing certificate and understand that recent updates to the process now require the private key to be generated by a Hardware Security Module (HSM). I need ...
0
votes
0
answers
36
views
Dotnet Core Signing XML Document with XAdES-BES
I'm required to Sign xml document with XAdES-BES standard.
My vendor Suggested in their documentation that I should use Apache Santuario library, but As I'm using dotnet, I don't have acccess to that ...
1
vote
1
answer
43
views
How to automatically create the OID (SHA-256) in MbedTLS / OpenSSL?
I am using MbedTLS in firmware. I successfully received a remote file and an encrypted hash of it that was encrypted with a private key (via OpenSSL). I used mbedtls_sha256() to locally make my own ...
0
votes
0
answers
30
views
Extract which bytes should be included in the hash calculation (Signature)
I'm looking to implement the enveloped signature in a project and I'm creating a proof of concept.
The integration documentation requests that:
Prepare the signature document
Calculate which bytes (...
-1
votes
0
answers
24
views
What is the point in using for example StAX for signing / verifying signatures if the elements get buffered anyways?
I have been trying to use Apache Santuario to sign and verify signatures of large xml documents in Java. If it gets to really big files I still regularly get Java out of heap space and memory errors. ...
0
votes
0
answers
54
views
How to generate canonicalized element using c14n11
I am signing my XML document using Python's signxml library. Here's my code:
signer = XMLSigner(
method=methods.enveloped,
signature_algorithm="rsa-sha256",
...
0
votes
0
answers
15
views
Signing nupkg packages on Linux
On Windows, we can use the built in nuget sign command and a certificate from the Windows certificate store. The beauty of it is we can have any KSP to perform the actual signing. The private key does ...
0
votes
0
answers
47
views
MSBuild detect if signed driver is same as previous built non-signed driver (prevent re-signing via caching)
My organization has a driver that now needs to be signed by both our organization and by Microsoft.
We have a build process that runs on windows as a batch file, it runs msbuild for all of the ...
-1
votes
0
answers
12
views
Generate Digital Signature for Oracle database
I need to Sign the generated invoice hash with ECDSA using the private key to Generate Digital Signature for ZATCA in oracle database.
is there any built in function doing that. if so does it works ...
0
votes
1
answer
92
views
ECDSA hash signing with Java
I have a Java function that can sign a given hash and a Python script that can perform XAdES signature, embedding the signature into a container and returning an adoc file. There's something wrong ...
0
votes
1
answer
41
views
The second signature invalidates the initial signature - iText 8.0.3
When adding another signature or upgrading the initial signature from PAdES B-T to PAdES B-LT:
byte[] addLTV(byte[] in)
throws IOException, GeneralSecurityException, java.io.IOException {
...
0
votes
0
answers
18
views
How do I obtain the Signature Hash Algorithm from the certificate Signature Algorithm on Windows?
Given a certificate parsed with CNG on Windows, I am recommended to extract the "Signature Algorithm" as follows:
hashAlgorithm.pszObjId = cert->pCertInfo->SignatureAlgorithm....