bc-csharp
bc-csharp copied to clipboard
Unknown hash exception
Hi All,
While working on client using bouncy castle in C# I run into exactly same problem as was reported for Java version 2 years ago
Issue: IllegalArgumentException("unknown HashAlgorithm") when server sends Certificate Request with Signature Hash Algorithm which is not supported by bc-java #422
https://github.com/bcgit/bc-java/issues/422
I have server that sends bunch of Signature Hash Algorithms (digests)
Hash: Unknown (8)
Signatures: Unknown (from 8 till 11)
This causes bc to throw "unknown HashAlgorithm", "hashAlgorithm" exception.
Let me know if you need Wireshark traces.