Questions tagged [pkcs]

About Public-Key Cryptography Standards in general. Use the [pkcs#] tags for questions about a specific standard.

3 questions
0
votes
0 answers

Go TLS x509: no DEK-Info header in block even if using pkcs8

Already burning hours figuring out why I cannot get the certificate using cert, err := tls.X509KeyPair(blockCrt.Bytes, blockPEM) A bit of research history I did Able to read Understanding PKCS1, PKCS8 and PEM Similar issue "No DEK-Info header in…
Louie Miranda
  • 896
  • 14
  • 31
0
votes
0 answers

py-hsm: compiling "libhsm.dll" on windows

I have to write a Python application that sends requests to a Hardware Security Module (Utimaco CryptoServer PCIe) and I think that py-hsm is a good solution: https://pypi.org/project/py-hsm/ Unfortunately, that Python library requires "libhsm.dll"…
LongNT
  • 21
  • 3
0
votes
0 answers

How to sign a byte[] with provided TSA and verify the signature in C# using System.Security.Cryptography.Pkcs library

I am comparatively new in the digital signature field in C#. I am trying to sign a byte array (byte[]) or a string with a TSA provided by a URL (a list of URL can be found in here) and verify the signed byte array (byte[]) or a string and get…
Abrar Jahin
  • 11,997
  • 20
  • 91
  • 139