update pom
This commit is contained in:
		
							parent
							
								
									9d3110547e
								
							
						
					
					
						commit
						ec689cc110
					
				@ -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>
 | 
			
		||||
 | 
			
		||||
@ -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();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user