(pkey)
| 374 | } |
| 375 | |
| 376 | checkPrivateKey(pkey) { |
| 377 | if (!isKeyObject(pkey)) |
| 378 | throw new ERR_INVALID_ARG_TYPE('pkey', 'KeyObject', pkey); |
| 379 | if (getKeyObjectType(pkey) !== 'private') |
| 380 | throw new ERR_INVALID_ARG_VALUE('pkey', pkey); |
| 381 | return this[kHandle].checkPrivateKey(getKeyObjectHandle(pkey)); |
| 382 | } |
| 383 | |
| 384 | verify(pkey) { |
| 385 | if (!isKeyObject(pkey)) |
no test coverage detected