Skip to content

Commit

Permalink
Merge b893927 into 2d8aa3f
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Wiedemann authored Oct 19, 2023
2 parents 2d8aa3f + b893927 commit cca7356
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private Optional<String> retrieveCertificate(DIDDocumentVerificationMethodInnerV
return ((JsonWebKey2020VerificationMethodVO) verificationMethodVO).getPublicKeyJwk();
} else if (verificationMethodVO instanceof RsaVerificationKey2018VerificationMethodVO) {
return ((RsaVerificationKey2018VerificationMethodVO) verificationMethodVO).getPublicKeyJwk();
} else if (verificationMethodVO instanceof RsaVerificationKey2018VerificationMethodVO) {
} else if (verificationMethodVO instanceof Ed25519VerificationKey2019VO) {
return ((Ed25519VerificationKey2019VO) verificationMethodVO).getPublicKeyJwk();
}else {
throw new IllegalArgumentException("Verification method type %s not supported.".formatted(verificationMethodVO.getType()));
Expand Down

0 comments on commit cca7356

Please sign in to comment.