-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DefaultDigestAlgorithmIdentifierFinder throws NPE for Composite Sigs #1767
Comments
Hello @Akretsch,
is returning the corresponding AlgorithmIdentifier. Can you provide more information on how you are producing the NPE |
Sorry, my code was not complete. This snippet triggers the NPE:
I use the |
Hello @Akretsch,
Should the expected value be the Digest Algorithm Identifier used by the CMS signer? |
Hello @roy-basmacier, I have to deal with certHash generation in CMP cert confirmations, see But maybe CMS needs it in another way? Thanks for testing! Andreas |
org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder.find(MiscObjectIdentifiers.id_MLDSA44_RSA2048_PSS_SHA256)
triggersNullPointerException("digest OID is null")
inorg.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder.find(ASN1ObjectIdentifier)
.I would expect
org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder.find(MiscObjectIdentifiers.id_MLDSA44_RSA2048_PSS_SHA256)
returningnull
in such case.The text was updated successfully, but these errors were encountered: