PublicKey - GetOpenSshData


BSTR __cdecl FlowSshC_PublicKey_GetOpenSshData(FlowSshC_PublicKey* publicKey);


[PublicKey] Data GetOpenSshData() const;


[PublicKey] public byte[] GetOpenSshData();

[C] Parameters

Return Value

Returns public-key data in the OpenSSH 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.


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