Back to FlowSsh Documentation

Keypair - SetPassphrase

[C]

void __cdecl FlowSshC_Keypair_SetPassphrase(
  FlowSshC_Keypair* keypair,
  wchar_t const* passphrase);

[C++]

[Keypair] SetPassphrase SetPassphrase(wchar_t const* passphrase);

[C#]

[Keypair] public void SetPassphrase(string passphrase);

Parameters

  • [C] keypair: FlowSshC_Keypair pointer.
  • passphrase: Passphrase used to encrypt the private-key.

Remarks

Sets or changes the passphrase with which the private-key is encrypted.