(depth, options)
| 1050 | } |
| 1051 | |
| 1052 | [kInspect](depth, options) { |
| 1053 | if (depth < 0) |
| 1054 | return this; |
| 1055 | |
| 1056 | const opts = { |
| 1057 | ...options, |
| 1058 | depth: options.depth == null ? null : options.depth - 1, |
| 1059 | }; |
| 1060 | |
| 1061 | return `CryptoKey ${inspect({ |
| 1062 | type: getCryptoKeyType(this), |
| 1063 | extractable: getCryptoKeyExtractable(this), |
| 1064 | algorithm: cloneAlgorithm(getCryptoKeyAlgorithm(this)), |
| 1065 | usages: ArrayPrototypeSlice(getCryptoKeyUsages(this), 0), |
| 1066 | }, opts)}`; |
| 1067 | } |
| 1068 | |
| 1069 | get type() { |
| 1070 | return getCryptoKeyType(this); |
nothing calls this directly
no test coverage detected