Keypair - GetOpenSshData
[C]
BSTR __cdecl FlowSshC_Keypair_GetOpenSshData(FlowSshC_Keypair* keypair);
[C++]
[Keypair] Data GetOpenSshData() const;
[C#]
[Keypair] public byte[] GetOpenSshData();
[C] Parameters
- keypair: FlowSshC_Keypair pointer.
Return Value
Returns private-key data of the keypair 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 private-key data retrieved here to a file, so it can conveniently be imported at some other location.