Skip to content

Commit

Permalink
Merge pull request #99 from eu-digital-green-certificates/fix/ec-expl…
Browse files Browse the repository at this point in the history
…icit-key

Fix: EC Explicit Keys
  • Loading branch information
f11h authored Nov 3, 2022
2 parents 89f0bb4 + 6484fc0 commit 5730eae
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ void init() throws KeyStoreException, CertificateEncodingException, IOException
public boolean trustListItemSignedByCa(TrustListItemDto certificate, X509CertificateHolder ca) {
ContentVerifierProvider verifier;
try {
verifier = new JcaContentVerifierProviderBuilder().build(ca);
verifier = new JcaContentVerifierProviderBuilder()
.setProvider(new BouncyCastleProvider())
.build(ca);
} catch (OperatorCreationException | CertificateException e) {
log.error("Failed to instantiate JcaContentVerifierProvider from cert. KID: {}, Country: {}",
certificate.getKid(), certificate.getCountry());
Expand Down

0 comments on commit 5730eae

Please sign in to comment.