Lines Matching defs:key
69 const key = createSecretKey(keybuf); constant
175 publicEncrypt({ key: publicKey }, plaintext), property
179 publicEncrypt({ key: privateKey }, plaintext), property
183 publicEncrypt({ key: derivedPublicKey }, plaintext), property
187 publicEncrypt({ format: 'der', type: 'pkcs1', key: publicDER }, plaintext), property
188 publicEncrypt({ format: 'der', type: 'pkcs1', key: privateDER }, plaintext), property
191 { format: 'pem', key: privatePem }, property
192 { format: 'der', type: 'pkcs1', key: privateDER }, property
200 { format: 'pem', key: publicPem }, property
201 { format: 'der', type: 'pkcs1', key: publicDER }, property
205 { format: 'pem', key: privatePem }, property
206 { format: 'der', type: 'pkcs1', key: privateDER }, property
213 createPrivateKey({ key: '' }); property
224 createPrivateKey({ key: Buffer.alloc(0), format: 'der', type: 'spki' }); property
233 const key = createPublicKey(publicPem).export({ constant
237 createPrivateKey({ key, format: 'der', type: 'pkcs1' }); property
262 const key = createPrivateKey(info.private); constant
272 const key = createPublicKey(pem); constant
292 key: privateDsa, property
303 key: privateDsa, property
316 key: privateDsa, property
350 .sign({ key, saltLength }); property
355 .verify({ key: pkey, saltLength }, signature); property
398 createSign('sha1').sign({ key, saltLength }); property
406 .sign({ key, saltLength }); property
411 .verify({ key: pkey, saltLength }, signature); property