update pom
This commit is contained in:
parent
9d3110547e
commit
ec689cc110
@ -28,12 +28,14 @@
|
|||||||
<artifactId>java-jwt</artifactId>
|
<artifactId>java-jwt</artifactId>
|
||||||
<version>3.10.3</version>
|
<version>3.10.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- https://github.com/filip26/iron-verifiable-credentials -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.apicatalog</groupId>
|
<groupId>com.apicatalog</groupId>
|
||||||
<artifactId>iron-verifiable-credentials-jre8</artifactId>
|
<artifactId>iron-verifiable-credentials-jre8</artifactId>
|
||||||
<version>0.7.0</version>
|
<version>0.7.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- https://mvnrepository.com/artifact/com.apicatalog/titanium-json-ld -->
|
<!-- https://mvnrepository.com/artifact/com.apicatalog/titanium-json-ld -->
|
||||||
|
<!-- https://github.com/filip26/titanium-json-ld -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.apicatalog</groupId>
|
<groupId>com.apicatalog</groupId>
|
||||||
<artifactId>titanium-json-ld</artifactId>
|
<artifactId>titanium-json-ld</artifactId>
|
||||||
|
@ -138,7 +138,7 @@ public class OB30Inspector extends VCInspector {
|
|||||||
//embedded endorsements
|
//embedded endorsements
|
||||||
EndorsementInspector endorsementInspector = new EndorsementInspector.Builder().build();
|
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) {
|
for(JsonNode node : endorsements) {
|
||||||
probeCount++;
|
probeCount++;
|
||||||
Credential endorsement = new Credential(resource, node);
|
Credential endorsement = new Credential(resource, node);
|
||||||
@ -146,7 +146,7 @@ public class OB30Inspector extends VCInspector {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//embedded jwt endorsements
|
//embedded jwt endorsements
|
||||||
endorsements = JsonNodeUtil.asNodeList(crd.getJson(), "$..endorsementJwt", jsonPath);
|
endorsements = asNodeList(crd.getJson(), "$..endorsementJwt", jsonPath);
|
||||||
for(JsonNode node : endorsements) {
|
for(JsonNode node : endorsements) {
|
||||||
probeCount++;
|
probeCount++;
|
||||||
String jwt = node.asText();
|
String jwt = node.asText();
|
||||||
|
Loading…
Reference in New Issue
Block a user