method DiffieHellman.prototype.getPublicKey
Jump to headingDiffieHellman.prototype.getPublicKey(): BufferReturns the Diffie-Hellman public key in the specified encoding.
If encoding is provided a
string is returned; otherwise a Buffer is returned.
Return Type Jump to heading
BufferJump to headingDiffieHellman.prototype.getPublicKey(encoding: BinaryToTextEncoding): stringParameters Jump to heading
Jump to headingencoding: BinaryToTextEncodingReturn Type Jump to heading
string