C++
ATL::CComPtr<sfFTPLib::IKeyManager> keyManager;
ATLENSURE_SUCCEEDED(keyManager.CoCreateInstance(__uuidof(sfFTPLib::KeyManager)))));
// Load key from file
ATL::CComPtr<sfFTPLib::IKey> key;
To generate a key see the example in the IOpenSSLKey documentation.
Copyright (c) by SmartSoft Ltd. All rights reserved.
|