Home
last modified time | relevance | path

Searched refs:usageSet (Results 1 – 5 of 5) sorted by relevance

/third_party/node/lib/internal/crypto/
Drsa.js119 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');
Dec.js89 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');
Dcfrg.js110 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');
Dmac.js53 const usageSet = new SafeSet(keyUsages);
54 if (hasAnyNotIn(usageSet, ['sign', 'verify'])) {
69 ArrayFrom(usageSet),
Dutil.js487 function getUsagesUnion(usageSet, ...usages) { argument
490 if (usageSet.has(usages[n]))