(algorithm, key, signature, data)
| 1223 | } |
| 1224 | |
| 1225 | function verifyImpl(algorithm, key, signature, data) { |
| 1226 | const prefix = prepareSubtleMethod(this, 'verify', arguments.length, 4); |
| 1227 | let i = 0; |
| 1228 | algorithm = convertSubtleArgument( |
| 1229 | prefix, 'AlgorithmIdentifier', algorithm, i++); |
| 1230 | key = convertSubtleArgument(prefix, 'CryptoKey', key, i++); |
| 1231 | signature = convertSubtleArgument(prefix, 'BufferSource', signature, i++); |
| 1232 | data = convertSubtleArgument(prefix, 'BufferSource', data, i++); |
| 1233 | |
| 1234 | return signVerify(algorithm, key, data, signature); |
| 1235 | } |
| 1236 | |
| 1237 | function cipherOrWrap(mode, normalizedAlgorithm, key, data) { |
| 1238 | // While WebCrypto allows for larger input buffer sizes, we limit |
nothing calls this directly
no test coverage detected
searching dependent graphs…