method DiffieHellman.prototype.setPublicKeyDiffieHellman.prototype.setPublicKey(publicKey: ArrayBufferView): voidDeprecatedSets 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. ParameterspublicKey: ArrayBufferViewReturn TypevoidDiffieHellman.prototype.setPublicKey(publicKey: string,encoding: BufferEncoding,): voidDeprecatedParameterspublicKey: stringencoding: BufferEncodingReturn Typevoid