PublicKey - GetOpenSshData

[C]

BSTR __cdecl FlowSshC_PublicKey_GetOpenSshData(FlowSshC_PublicKey* publicKey);

[C++]

[PublicKey] Data GetOpenSshData() const;

[C#]

[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.

Remarks

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