NodecryptoDiffieHellman.prototype.setPublicKeymethod DiffieHellman.prototype.setPublicKey#DiffieHellman.prototype.setPublicKey(publicKey: ArrayBufferView): voidSets the Diffie-Hellman public key. If the encoding argument is provided, publicKey is expected to be a string. If no encoding is provided, publicKey is expected to be a Buffer, TypedArray, or DataView. Parameters ##publicKey: ArrayBufferViewReturn Type #void#DiffieHellman.prototype.setPublicKey(publicKey: string,encoding: BufferEncoding,): voidParameters ##publicKey: string#encoding: BufferEncodingReturn Type #void
method DiffieHellman.prototype.setPublicKey#DiffieHellman.prototype.setPublicKey(publicKey: ArrayBufferView): voidSets the Diffie-Hellman public key. If the encoding argument is provided, publicKey is expected to be a string. If no encoding is provided, publicKey is expected to be a Buffer, TypedArray, or DataView. Parameters ##publicKey: ArrayBufferViewReturn Type #void#DiffieHellman.prototype.setPublicKey(publicKey: string,encoding: BufferEncoding,): voidParameters ##publicKey: string#encoding: BufferEncodingReturn Type #void