Home
last modified time | relevance | path

Searched refs:setPrivateKey (Results 1 – 10 of 10) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-dh.js124 dh3.setPrivateKey(privkey1);
138 dh4.setPrivateKey(privkey1);
315 ecdh4.setPrivateKey(ecdh1.getPrivateKey());
342 ecdh5.setPrivateKey(cafebabeKey, 'hex');
394 ecdh5.setPrivateKey(cafebabeKey, 'hex');
403 ecdh5.setPrivateKey(element, 'hex');
458 crypto.getDiffieHellman('modp1').setPrivateKey('');
Dtest-crypto-dh-odd-key.js34 c.setPrivateKey(odd);
Dtest-crypto-dh-padding.js104 p.setPrivateKey(apriv, 'hex');
Dtest-crypto-dh-leak.js20 dh.setPrivateKey(privateKey);
Dtest-crypto-ecdh-convert-key.js97 ecdh1.setPrivateKey(cafebabeKey, 'hex');
Dtest-crypto-dh-stateless.js121 dh.setPrivateKey(privateKey);
Dtest-crypto-binary-default.js601 dh3.setPrivateKey(privkey1);
/third_party/node/lib/internal/crypto/
Ddiffiehellman.js191 DiffieHellman.prototype.setPrivateKey = function setPrivateKey(key, encoding) { method in DiffieHellman
193 this[kHandle].setPrivateKey(toBuf(key, encoding));
207 ECDH.prototype.setPrivateKey = DiffieHellman.prototype.setPrivateKey; method in ECDH
/third_party/node/deps/npm/node_modules/sshpk/lib/
Ddhe.js41 this._dh.setPrivateKey(key.part.x.data);
69 typeof (this._dh.setPrivateKey) !== 'function') {
75 this._dh.setPrivateKey(key.part.d.data);
135 this._dh.setPrivateKey(pk.part.x.data);
140 this._dh.setPrivateKey(pk.part.d.data);
159 DiffieHellman.prototype.setPrivateKey = DiffieHellman.prototype.setKey; method in DiffieHellman
/third_party/node/doc/api/
Dcrypto.md691 ### `diffieHellman.setPrivateKey(privateKey[, encoding])`
741 or `setPrivateKey()` methods.
924 ### `ecdh.setPrivateKey(privateKey[, encoding])`
959 [`ecdh.setPrivateKey()`][] will be called. The [`ecdh.setPrivateKey()`][] method
973 alice.setPrivateKey(
3146 Now, [`ecdh.setPrivateKey()`][] can be called with a preselected private key
3149 [`ecdh.setPrivateKey()`][] now also validates that the private key is valid for
3643 [`ecdh.setPrivateKey()`]: #crypto_ecdh_setprivatekey_privatekey_encoding