Commit Graph

281 Commits

Author SHA1 Message Date
Xavi Aracil
d852003526 Fix issuer url 2022-12-12 11:10:19 +01:00
Xavi Aracil
c7f4dc8afa Fixed regular expression validation 2022-12-12 10:41:04 +01:00
Xavi Aracil
e4da345869 Added test for assertion withou publick key 2022-12-12 10:40:12 +01:00
Xavi Aracil
48a3de0968 Added basic language test 2022-12-12 09:39:12 +01:00
Xavi Aracil
a4d8a1692f Added JWT signature verification 2022-12-09 14:27:09 +01:00
Xavi Aracil
dbee83068f Got verification object from graph 2022-12-09 12:27:48 +01:00
Xavi Aracil
1133628f5f Back to previous value 2022-12-09 12:27:37 +01:00
Xavi Aracil
65a858756b Updated version 2022-12-09 10:06:56 +01:00
Xavi Aracil
52b94777ce Added revocation list probe to OB 2.0 2022-12-07 17:55:01 +01:00
Xavi Aracil
c96dd7726a Removed unused import 2022-12-07 17:41:14 +01:00
Xavi Aracil
288e67e166 Default return for non existent field is success 2022-12-07 17:41:02 +01:00
Xavi Aracil
4219785be4 Added revocation list for fetch 2022-12-07 17:40:08 +01:00
Xavi Aracil
3c094f53ef Fixed default allowed origins when the issuerId is not an url 2022-12-07 16:08:29 +01:00
Xavi Aracil
e1f9c31b7b Fixed badge url in test resource 2022-12-07 15:55:47 +01:00
Xavi Aracil
3f3276485d remove setter call with default boolean value 2022-12-07 15:27:25 +01:00
Xavi Aracil
7580a2c56b More validations and prerequisites 2022-12-06 15:44:15 +01:00
Xavi Aracil
746300ab42 Added basic jws test 2022-12-02 11:29:09 +01:00
Xavi Aracil
2492aa28f3 Set assertion property name for JWS 2022-12-02 11:29:00 +01:00
Xavi Aracil
550dde03f6 Generic property name for credential into jws 2022-12-02 11:28:40 +01:00
Xavi Aracil
d286347294 Added issuedon and expiration probes 2022-12-01 12:38:20 +01:00
Xavi Aracil
d334c0f143 Generic ExpirationProbe 2022-12-01 12:34:36 +01:00
Xavi Aracil
ce89968837 generic IssuanceProbe 2022-12-01 12:30:34 +01:00
Xavi Aracil
739facfe06 Fixed tests 2022-12-01 12:30:09 +01:00
Xavi Aracil
c53d6405c4 Cache context for faster tests 2022-12-01 12:30:01 +01:00
Xavi Aracil
d604f213be Added test with non-http issuer 2022-11-30 18:50:01 +01:00
Xavi Aracil
d6e0d85d2f Added issuer property validations 2022-11-30 18:49:31 +01:00
Xavi Aracil
92ad87c6bc Several ways to get the id 2022-11-30 18:48:56 +01:00
Xavi Aracil
dc0f501772 Gotten the right resource from context 2022-11-30 18:48:17 +01:00
Xavi Aracil
91efffa848 Validation probes moved to its own package 2022-11-30 12:45:54 +01:00
Xavi Aracil
60e0187052 Added image validation 2022-11-30 10:52:38 +01:00
Xavi Aracil
d3667e580c New validation probe for rdf types 2022-11-30 10:52:21 +01:00
Xavi Aracil
0d6d97cd4f Validate properties in Assertion 2022-11-29 18:06:36 +01:00
Xavi Aracil
1cc64d2ae9 Basic validation of nodes which are not Id 2022-11-29 11:24:32 +01:00
Xavi Aracil
2f11941ebd Pass node to reportForNonExistentProperty 2022-11-28 15:03:21 +01:00
Xavi Aracil
4267423273 Added validations by type 2022-11-28 14:22:15 +01:00
Xavi Aracil
7cd9103001 Two type of generic property probes, depending of the type of validations 2022-11-28 14:17:10 +01:00
Xavi Aracil
521cce5dd4 Added invalid type test 2022-11-25 14:27:44 +01:00
Xavi Aracil
5cb232ea5b Added invalid context test 2022-11-25 14:09:17 +01:00
Xavi Aracil
c72d1de7f4 Generic ContextPropertyProbe 2022-11-25 13:56:39 +01:00
Xavi Aracil
2560281420 Moved getContext to CredentialEnum 2022-11-25 13:56:19 +01:00
Xavi Aracil
c88f776552 Removed unused imports 2022-11-25 13:55:55 +01:00
Xavi Aracil
f4f44f61ff Return empty list when node is an object 2022-11-25 13:55:08 +01:00
Xavi Aracil
82ab70eaf9 Added TypePropertyProbe 2022-11-25 12:54:37 +01:00
Xavi Aracil
bf3f93e59e credentialType now is of the interface type 2022-11-25 12:54:17 +01:00
Xavi Aracil
cc33dd4068 Generic TypePropertyProbe 2022-11-25 12:48:11 +01:00
Xavi Aracil
a46fcbff9a Refactor probes, extracted out to a generic class 2022-11-25 08:45:38 +01:00
Xavi Aracil
40b34cce13 Use JsonNodeUtils to manage array nodes 2022-11-25 08:28:07 +01:00
Xavi Aracil
543a2c5bdb Refactored out to a new package 2022-11-24 17:09:21 +01:00
Xavi Aracil
b948a6fa2b Add JSON-LD Validation probe to OB20 2022-11-24 17:07:23 +01:00
Xavi Aracil
20ca615e46 Added simple badge class test 2022-11-24 17:07:10 +01:00