Questions tagged [pkcs]

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

21 questions
0
votes
0 answers

Parsing OIDs in CertificatePolicies from CSR object in CX509CertificateRequestPkcs10 in c#

I am trying to parse a CSR, CX509CertificateRequestPkcs10 object to read the OIDs in the Certificate policies in extension but I am not able get to it. CX509CertificateRequestPkcs10 request = new…
Bhupesh Pant
  • 4,053
  • 5
  • 45
  • 70
0
votes
0 answers

problem in importing private key to the token

I am trying to inject an der formated private key to a PKC11 compatible token, with the below command: pkcs11-tool --module /path_tp/libparskey11.so --login --write-object private.der --type privkey --id 21 --label injected but I got the below…
0
votes
1 answer

Azure Function Could not load file or assembly 'System.Security.Cryptography.Pkcs'

I recently tried decrypting and verifying PKCS#7 message in C# .NET Core 3.1 Web Application. Here is how I did it. I used System.Security.Cryptography.Pkcs in Web app project. But after implementing same package and trying to decrypt and verify in…
Rocky Mishra
  • 85
  • 10
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
  • 1,071
  • 1
  • 20
  • 36
-1
votes
1 answer

What is the accepted way to transfer public-private keypairs over intranet?

I have an embedded system (Netburner 5441x) that consumes public-private RSA keypairs. I have ported OpenSSL into the system but the processor cannot make keypairs fast enough for the application. So the next logical step is to have the embedded…
Larry Martin
  • 89
  • 1
  • 10
-1
votes
2 answers

C# Decrypt AES CBC pkcs1 padding, there is System.Security.Cryptography.PaddingMode.PKCS7 but does not have PKCS1

I need to decrypt a cipher that was encrypted with AES CBC 128 with PKCS1 padding. But, C# AesCryptoServiceProvider and System.Security.Cryptography.PaddingMode does not have PKCS1. What should I do? Do I have to use some other AES package? or,…
Tom
  • 21
  • 1
1
2