PublicKey - GetSsh2Data

[C]

BSTR __cdecl FlowSshC_PublicKey_GetSsh2Data(FlowSshC_PublicKey* publicKey);

[C++]

[PublicKey] Data GetSsh2Data() const;

[C#]

[PublicKey] public byte[] GetSsh2Data();

[C] Parameters

Return Value

Returns public-key data in the SSH2 format. The returned data is:

  • [C] A BSTR. The caller must release the returned BSTR with SysFreeString.
  • [C++] A Data object.
  • [.NET] An array of type Byte.

Remarks

Usually you will save the public-key data retrieved here to a file, so it can conveniently be imported at some other location.