Searched refs:setPrivateKey (Results 1 – 10 of 10) sorted by relevance
/third_party/node/test/parallel/ |
D | test-crypto-dh.js | 124 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('');
|
D | test-crypto-dh-odd-key.js | 34 c.setPrivateKey(odd);
|
D | test-crypto-dh-padding.js | 104 p.setPrivateKey(apriv, 'hex');
|
D | test-crypto-dh-leak.js | 20 dh.setPrivateKey(privateKey);
|
D | test-crypto-ecdh-convert-key.js | 97 ecdh1.setPrivateKey(cafebabeKey, 'hex');
|
D | test-crypto-dh-stateless.js | 121 dh.setPrivateKey(privateKey);
|
D | test-crypto-binary-default.js | 601 dh3.setPrivateKey(privkey1);
|
/third_party/node/lib/internal/crypto/ |
D | diffiehellman.js | 191 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/ |
D | dhe.js | 41 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/ |
D | crypto.md | 691 ### `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
|