From 4219785be46422e869f5590375e7cdb9e1c993bd Mon Sep 17 00:00:00 2001 From: Xavi Aracil Date: Wed, 7 Dec 2022 17:40:08 +0100 Subject: [PATCH] Added revocation list for fetch --- .../src/main/java/org/oneedtech/inspect/vc/Assertion.java | 1 + 1 file changed, 1 insertion(+) diff --git a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/Assertion.java b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/Assertion.java index d0b2185..24d0b44 100644 --- a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/Assertion.java +++ b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/Assertion.java @@ -279,6 +279,7 @@ public class Assertion extends Credential { new Validation.Builder().name("telephone").type(ValueType.TELEPHONE).build(), new Validation.Builder().name("publicKey").type(ValueType.ID).expectedType(Type.CryptographicKey).fetch(true).build(), new Validation.Builder().name("verification").type(ValueType.ID).expectedType(Type.VerificationObjectIssuer).build(), + new Validation.Builder().name("revocationList").type(ValueType.ID).expectedType(Type.RevocationList).fetch(true).build(), new Validation.Builder().name("id").type(ValueType.ISSUER).messageLevel(MessageLevel.Warning).build(), new Validation.Builder().name("@language").type(ValueType.LANGUAGE).build(), new Validation.Builder().name("version").type(ValueType.TEXT_OR_NUMBER).build(),