update pom

This commit is contained in:
Markus Gylling 2022-07-08 12:25:47 +02:00
parent 9d3110547e
commit ec689cc110
2 changed files with 4 additions and 2 deletions

View File

@ -28,12 +28,14 @@
<artifactId>java-jwt</artifactId>
<version>3.10.3</version>
</dependency>
<!-- https://github.com/filip26/iron-verifiable-credentials -->
<dependency>
<groupId>com.apicatalog</groupId>
<artifactId>iron-verifiable-credentials-jre8</artifactId>
<version>0.7.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.apicatalog/titanium-json-ld -->
<!-- https://github.com/filip26/titanium-json-ld -->
<dependency>
<groupId>com.apicatalog</groupId>
<artifactId>titanium-json-ld</artifactId>

View File

@ -138,7 +138,7 @@ public class OB30Inspector extends VCInspector {
//embedded endorsements
EndorsementInspector endorsementInspector = new EndorsementInspector.Builder().build();
List<JsonNode> endorsements = JsonNodeUtil.asNodeList(crd.getJson(), "$..endorsement", jsonPath);
List<JsonNode> endorsements = asNodeList(crd.getJson(), "$..endorsement", jsonPath);
for(JsonNode node : endorsements) {
probeCount++;
Credential endorsement = new Credential(resource, node);
@ -146,7 +146,7 @@ public class OB30Inspector extends VCInspector {
}
//embedded jwt endorsements
endorsements = JsonNodeUtil.asNodeList(crd.getJson(), "$..endorsementJwt", jsonPath);
endorsements = asNodeList(crd.getJson(), "$..endorsementJwt", jsonPath);
for(JsonNode node : endorsements) {
probeCount++;
String jwt = node.asText();