|
SmartFTP FTP Library
|
Key based on the RSA key algorithm.
IKey IRSAKey
interface IRSAKey : IKey;
C++
#import "libid:7A3A786C-EB8C-43b3-BC10-8D09ACF5D195" version("1.5")sfFTPLib::IRSAKeyPtr pRSA; if(SUCCEEDED(pRSA.CreateInstance(__uuidof(sfFTPLib::RSAKey)))) { DWORD t0 = ::GetTickCount(); int nBits = 1024; TRACE(_T("Generating %d bits RSA Key\n"), nBits); pRSA->Generate(nBits); TRACE(_T("Key generation took %d ms\n"), ::GetTickCount() - t0); }
|
IKey Methods |
Description |
|
Compares key with another key. | |
|
This is ExportKey, a member of class IKey. | |
|
Generates key. | |
|
Returns human readable format of key. | |
|
This is ImportBlob, a member of class IKey. | |
|
Indicates if key is a private key. | |
|
Indicates if key has a public key. | |
|
Compares public key with another key. | |
|
This is SetProperty, a member of class IKey. | |
|
This is Sign, a member of class IKey. | |
|
This is Verify, a member of class IKey. |
|
IKey Properties |
Description |
|
This is Algo, a member of class IKey. | |
|
Contains the number of bits. | |
|
This is Certificate, a member of class IKey. | |
|
Contains the key type. |
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) by SmartSoft Ltd. All rights reserved.
|