Skip to content

Commit

Permalink
Update DgciService.java (#58)
Browse files Browse the repository at this point in the history
Co-authored-by: Artur T <81235055+a-trzewik@users.noreply.github.com>
  • Loading branch information
SchulzeStTSI and a-trzewik committed May 17, 2021
1 parent aab36ef commit d28f1d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public DidDocument getDidDocument(String dgciHash) {
if (dgciEntity.isClaimed()) {
DidAuthentication didAuthentication = new DidAuthentication();
didAuthentication.setController(dgciEntity.getDgci());
didAuthentication.setType("EcdsaSecp256k1VerificationKey2018");
didAuthentication.setType("EcdsaSecp256r1VerificationKey2019");
didAuthentication.setExpires(dgciEntity.getExpiresAt()
.toOffsetDateTime().format(
DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss'Z'")));
Expand Down

0 comments on commit d28f1d7

Please sign in to comment.