(algorithm, key, data)
| 1208 | } |
| 1209 | |
| 1210 | function signImpl(algorithm, key, data) { |
| 1211 | const prefix = prepareSubtleMethod(this, 'sign', arguments.length, 3); |
| 1212 | let i = 0; |
| 1213 | algorithm = convertSubtleArgument( |
| 1214 | prefix, 'AlgorithmIdentifier', algorithm, i++); |
| 1215 | key = convertSubtleArgument(prefix, 'CryptoKey', key, i++); |
| 1216 | data = convertSubtleArgument(prefix, 'BufferSource', data, i++); |
| 1217 | |
| 1218 | return signVerify(algorithm, key, data); |
| 1219 | } |
| 1220 | |
| 1221 | function verify(algorithm, key, signature, data) { |
| 1222 | return callSubtleCryptoMethod(verifyImpl, this, arguments); |
nothing calls this directly
no test coverage detected
searching dependent graphs…