Skip to content

Commit 0d85a3b

Browse files
committed
Merge rdfc algorithms
Signed-off-by: PatStLouis <[email protected]>
2 parents 70d126e + a7e6255 commit 0d85a3b

File tree

4 files changed

+165
-259
lines changed

4 files changed

+165
-259
lines changed

tests/10-rdfc-create.js

Lines changed: 0 additions & 219 deletions
This file was deleted.

tests/20-rdfc-verify.js

Lines changed: 0 additions & 25 deletions
This file was deleted.

tests/90-algorithms-jcs.js

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ describe('Algorithms - Verify Proof (ecdsa-jcs-2019)', function() {
113113
}
114114
});
115115

116-
describe('Algorithms - Transformation', function() {
116+
describe('Algorithms - Transformation (ecdsa-jcs-2019)', function() {
117117
setupReportableTestSuite(this);
118118
this.implemented = [...issuers.keys()];
119119
for(const [columnId, {endpoints}] of issuers) {
@@ -127,17 +127,9 @@ describe('Algorithms - Transformation', function() {
127127
proof = getProofs(securedCredential)[0];
128128
});
129129
beforeEach(setupRow);
130-
it('The proof options MUST contain a type identifier for the ' +
131-
'cryptographic suite (type) and MAY contain a cryptosuite ' +
132-
'identifier (cryptosuite).',
133-
async function() {
134-
this.test.link = 'https://www.w3.org/TR/vc-di-ecdsa/#proof-serialization-ecdsa-jcs-2019';
135-
should.exist(proof.type,
136-
'Expected a type identifier on the proof.');
137-
});
138130
it('The transformation options MUST contain a type identifier ' +
139-
'for the cryptographic suite (type) and a cryptosuite identifier ' +
140-
'(cryptosuite).',
131+
'for the cryptographic suite (type) and a cryptosuite identifier ' +
132+
'(cryptosuite).',
141133
async function() {
142134
this.test.link = 'https://www.w3.org/TR/vc-di-ecdsa/#transformation-ecdsa-jcs-2019';
143135
should.exist(proof.type, 'Expected a type identifier on ' +
@@ -170,7 +162,7 @@ describe('Algorithms - Transformation', function() {
170162
}
171163
});
172164

173-
describe('ecdsa-jcs-2019 - Algorithms - Proof Configuration', function() {
165+
describe('Algorithms - Proof Configuration (ecdsa-jcs-2019)', function() {
174166
setupReportableTestSuite(this);
175167
this.implemented = [...issuers.keys()];
176168
for(const [columnId, {endpoints}] of issuers) {
@@ -185,8 +177,8 @@ describe('ecdsa-jcs-2019 - Algorithms - Proof Configuration', function() {
185177
});
186178
beforeEach(setupRow);
187179
it('The proof options MUST contain a type identifier for the ' +
188-
'cryptographic suite (type) and MUST contain a cryptosuite ' +
189-
'identifier (cryptosuite).',
180+
'cryptographic suite (type) and MUST contain a cryptosuite ' +
181+
'identifier (cryptosuite).',
190182
async function() {
191183
this.test.link = 'https://www.w3.org/TR/vc-di-ecdsa/#proof-configuration-ecdsa-jcs-2019';
192184
should.exist(proof.type,
@@ -225,7 +217,7 @@ describe('ecdsa-jcs-2019 - Algorithms - Proof Configuration', function() {
225217
}
226218
});
227219

228-
describe('ecdsa-jcs-2019 - Algorithms - Proof Serialization', function() {
220+
describe('Algorithms - Proof Serialization (ecdsa-jcs-2019)', function() {
229221
setupReportableTestSuite(this);
230222
this.implemented = [...issuers.keys()];
231223
for(const [columnId, {endpoints}] of issuers) {

0 commit comments

Comments
 (0)