0

How can I create a sha512ECDSA certificate and a valid certificate revocation list for this certificate using the latest version of BouncyCastle? I did not find any hints and the documentation does not seem to be well maintained either...

FranzHuber23
  • 3,311
  • 5
  • 24
  • 63
  • You have the source code, and maybe some Java examples. – Lex Li Mar 18 '19 at 18:55
  • The only thing I found is this link in Java: http://www.bouncycastle.org/wiki/display/JA1/X.509+Public+Key+Certificate+and+Certification+Request+Generation However, you cannot simply translate this to C# because the `PrivateKey` and `KeyPair` classes do not exist and the `SetSignatureAlgorithm` method is deprecated. – FranzHuber23 Mar 19 '19 at 07:31
  • I've directly asked this question in Github, too: https://github.com/bcgit/bc-csharp/issues/179 – FranzHuber23 Mar 27 '19 at 13:56

1 Answers1

0

I did this now using OpenSSL directly. Here you can see the result: https://gist.github.com/SeppPenner/2e423b06904615255c05fe9056e8704b

FranzHuber23
  • 3,311
  • 5
  • 24
  • 63