Searched refs:usageSet (Results 1 – 5 of 5) sorted by relevance
/third_party/node/lib/internal/crypto/ |
D | rsa.js | 119 const usageSet = new SafeSet(keyUsages); 130 if (hasAnyNotIn(usageSet, 138 if (hasAnyNotIn(usageSet, ['sign', 'verify'])) { 165 publicUsages = getUsagesUnion(usageSet, 'encrypt', 'wrapKey'); 166 privateUsages = getUsagesUnion(usageSet, 'decrypt', 'unwrapKey'); 170 publicUsages = getUsagesUnion(usageSet, 'verify'); 171 privateUsages = getUsagesUnion(usageSet, 'sign');
|
D | ec.js | 89 const usageSet = new SafeSet(keyUsages); 92 if (hasAnyNotIn(usageSet, ['sign', 'verify'])) { 99 if (hasAnyNotIn(usageSet, ['deriveKey', 'deriveBits'])) { 117 publicUsages = getUsagesUnion(usageSet, 'verify'); 118 privateUsages = getUsagesUnion(usageSet, 'sign'); 122 privateUsages = getUsagesUnion(usageSet, 'deriveKey', 'deriveBits');
|
D | cfrg.js | 110 const usageSet = new SafeSet(keyUsages); 115 if (hasAnyNotIn(usageSet, ['sign', 'verify'])) { 124 if (hasAnyNotIn(usageSet, ['deriveKey', 'deriveBits'])) { 159 publicUsages = getUsagesUnion(usageSet, 'verify'); 160 privateUsages = getUsagesUnion(usageSet, 'sign'); 166 privateUsages = getUsagesUnion(usageSet, 'deriveKey', 'deriveBits');
|
D | mac.js | 53 const usageSet = new SafeSet(keyUsages); 54 if (hasAnyNotIn(usageSet, ['sign', 'verify'])) { 69 ArrayFrom(usageSet),
|
D | util.js | 487 function getUsagesUnion(usageSet, ...usages) { argument 490 if (usageSet.has(usages[n]))
|