Skip to content

Commit

Permalink
Merge branch 'add-algorithm-suites' into algo-ecdsa-jcs-2019
Browse files Browse the repository at this point in the history
  • Loading branch information
PatStLouis committed Nov 13, 2024
2 parents 61eee84 + 89fc2a3 commit 3d32142
Show file tree
Hide file tree
Showing 2 changed files with 294 additions and 152 deletions.
34 changes: 22 additions & 12 deletions tests/90-algorithms.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
* Copyright 2024 Digital Bazaar, Inc.
* SPDX-License-Identifier: BSD-3-Clause
*/
import {ecdsaRdfc2019Algorithms} from './suites/algorithms.js';
import {
commonAlgorithms,
ecdsaRdfc2019Algorithms
} from './suites/algorithms.js';
import {endpoints} from 'vc-test-suite-implementations';
import {getSuiteConfig} from './test-config.js';

Expand All @@ -22,16 +25,23 @@ for(const suiteName of cryptosuites) {
mandatoryPointers,
selectivePointers
} = credentials.create[vcVersion];
for(const keyType of vectors.keyTypes) {
ecdsaRdfc2019Algorithms({
verifiers,
suiteName,
keyType,
vcVersion,
credential: document,
mandatoryPointers,
selectivePointers
});
}
ecdsaRdfc2019Algorithms({
verifiers,
suiteName,
keyTypes: vectors.keyTypes,
vcVersion,
credential: document,
mandatoryPointers,
selectivePointers
});
commonAlgorithms({
verifiers,
suiteName,
keyTypes: vectors.keyTypes,
vcVersion,
credential: document,
mandatoryPointers,
selectivePointers
});
}
}
Loading

0 comments on commit 3d32142

Please sign in to comment.