* Splits requested usages into public and private key usage sets. * @param {SafeSet } usagesSet * @param {KeyUsageLists} allowed * @returns {KeyUsageSets}
(usagesSet, allowed)
| 101 | * @returns {KeyUsageSets} |
| 102 | */ |
| 103 | function getKeyPairUsages(usagesSet, allowed) { |
| 104 | return { |
| 105 | public: getUsagesUnion(usagesSet, allowed.public), |
| 106 | private: getUsagesUnion(usagesSet, allowed.private), |
| 107 | }; |
| 108 | } |
| 109 | |
| 110 | /** |
| 111 | * Creates the accepted public, private, and key generation usage lists. |
no test coverage detected
searching dependent graphs…