I am playing with keytool + BouncyCastle and generate a key pair using the 
sigalg "SHA3-256WITHECDSA", and `keytool -list` cannot show the signature name.

So I tried 2 changes in AlgorithmId.java:

1. add both the name->oid and oid->name mapping inside collectOIDAliases() for 
3rd party providers

2. fallback to this mapping if KnownOIDs.findMatch() fails in getName().

Then I can see the signature name.

You can consider including this or we can make this in a future RFE.

Thanks,
Max

Reply via email to