Commit Graph

301 Commits

Author SHA1 Message Date
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
Xavi Aracil
f17f8913bc Add simple badgeclass sample 2022-11-24 17:06:55 +01:00
Xavi Aracil
24a2e02fe6 Added simple png test 2022-11-24 14:37:48 +01:00
Xavi Aracil
a629fc8372 Redirect warning in compaction 2022-11-24 13:51:04 +01:00
Xavi Aracil
0ba347d8f0 Added redirection sample 2022-11-24 13:50:48 +01:00
Xavi Aracil
ca8050d790 Added basic test, using test inspector 2022-11-24 12:01:53 +01:00
Xavi Aracil
6f7b1f710a Added parse and compaction probes 2022-11-24 12:01:35 +01:00
Xavi Aracil
af48747b57 Added a test OB20 inspector, with local redirections 2022-11-24 12:01:05 +01:00
Xavi Aracil
f97b01da82 New probe for compacting JSONLD documents 2022-11-24 11:59:52 +01:00
Xavi Aracil
2d6d93041f Allow redirection of url to local resources 2022-11-24 11:58:48 +01:00
Xavi Aracil
7ee4475917 Added OB 20 context file 2022-11-24 11:58:07 +01:00
Xavi Aracil
579e19a929 Added new method for getting context uris 2022-11-24 11:55:58 +01:00
Xavi Aracil
677caf6f21 Updated samples 2022-11-24 11:15:53 +01:00
Xavi Aracil
c47a04aa8c type property is an string node, not an array 2022-11-24 09:11:22 +01:00
Xavi Aracil
904c97aced Set additional context keys for testing 2022-11-23 17:22:53 +01:00
Xavi Aracil
b7e7aa2c5d Back to CachedDocumentLoader 2022-11-23 17:18:16 +01:00
Xavi Aracil
19c97f2937 Adap CachingDocumentLoader to ConfigurableDocumentLoader 2022-11-23 17:18:02 +01:00
Xavi Aracil
7beb69f87b AbstractBaseCredential renamed to Credential 2022-11-23 09:08:42 +01:00
Xavi Aracil
3ab9c52300 Credential renamed to VerifiableCredential 2022-11-23 09:07:49 +01:00
Xavi Aracil
0e077c7256 First empty inspector for OB20 2022-11-22 18:04:42 +01:00
Xavi Aracil
e56739370f Set new context keys and use the new credentials builder 2022-11-22 18:04:29 +01:00
Xavi Aracil
6c9485cf02 parse now return the generic credential, with keys from context 2022-11-22 18:04:02 +01:00
Xavi Aracil
75d7deffda Added Assertion as a sibling of Credential 2022-11-22 18:03:06 +01:00
Xavi Aracil
21fe60f21b Added basic json test resource 2022-11-22 13:57:35 +01:00
Xavi Aracil
b5ab04da4c Removed duplicated entry 2022-11-17 12:09:07 +01:00
Xavi Aracil
f1cc6242bb Merge pull request #50 from imsglc/fine-tune-verification-key-url-support
Fine tune verification key url support
2022-11-17 11:54:38 +01:00
Xavi Aracil
b2e315ca38 Merge pull request #49 from imsglc/fix-ob3-tests
Fix ob3 tests
2022-11-17 11:43:48 +01:00
Andy Miller (IMS)
e096f1580b Add valid did:key example 2022-11-16 12:45:50 -08:00
Andy Miller (IMS)
78c1cbe279 Add several more ob3 tests 2022-11-16 12:29:22 -08:00
Andy Miller (IMS)
bd106f9761 Fix ob3 tests
- Update context URL (imsglobal.github.io no longer exists)
- Update simple* resources with updated ob3 spec example json
2022-11-16 11:24:42 -08:00
Xavi Aracil
1b1e58bde1 Updated version to 0.9.7 2022-11-15 15:51:30 +01:00