File tree Expand file tree Collapse file tree 2 files changed +294
-152
lines changed Expand file tree Collapse file tree 2 files changed +294
-152
lines changed Original file line number Diff line number Diff line change 22 * Copyright 2024 Digital Bazaar, Inc.
33 * SPDX-License-Identifier: BSD-3-Clause
44 */
5- import { ecdsaRdfc2019Algorithms } from './suites/algorithms.js' ;
5+ import {
6+ commonAlgorithms ,
7+ ecdsaRdfc2019Algorithms
8+ } from './suites/algorithms.js' ;
69import { endpoints } from 'vc-test-suite-implementations' ;
710import { getSuiteConfig } from './test-config.js' ;
811
@@ -22,16 +25,23 @@ for(const suiteName of cryptosuites) {
2225 mandatoryPointers,
2326 selectivePointers
2427 } = credentials . create [ vcVersion ] ;
25- for ( const keyType of vectors . keyTypes ) {
26- ecdsaRdfc2019Algorithms ( {
27- verifiers,
28- suiteName,
29- keyType,
30- vcVersion,
31- credential : document ,
32- mandatoryPointers,
33- selectivePointers
34- } ) ;
35- }
28+ ecdsaRdfc2019Algorithms ( {
29+ verifiers,
30+ suiteName,
31+ keyTypes : vectors . keyTypes ,
32+ vcVersion,
33+ credential : document ,
34+ mandatoryPointers,
35+ selectivePointers
36+ } ) ;
37+ commonAlgorithms ( {
38+ verifiers,
39+ suiteName,
40+ keyTypes : vectors . keyTypes ,
41+ vcVersion,
42+ credential : document ,
43+ mandatoryPointers,
44+ selectivePointers
45+ } ) ;
3646 }
3747}
You can’t perform that action at this time.
0 commit comments