Programming Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CMFCDelphiFoxProJavaPerl
PHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

C Examples

Bounced Mail
Bz2
Certificates/Keys
Charset
CSV
DKIM / DomainKey
Diffie-Hellman
DSA
Email Object
Encryption
FileAccess
FTP
HTML Conversion
HTTP
IMAP
MHT / HTML Email
MIME
NTLM
POP3
RSA
SMTP
Socket
Spider
SSH Key
SSH
SSH Tunnel
SFTP
Tar
Upload
XML
Zip
Amazon S3

 

 

 

 

 

 

 

 

LastErrorText

How to get RSA debugging information. If any RSA method returns a failed status, check the contents of the LastErrorText string property. Send it to support@chilkatsoft.com if you need further help.

Downloads:

MS Windows Visual C/C++ Libraries
Linux/CentOS C/C++ Libraries
MAC OS X C/C++ Libraries
Solaris C/C++ Libraries
C++ Builder Libraries
FreeBSD C++ Libraries
HP-UX C++ Libraries
BlackBerry QNX C++ Libraries
#include <C_CkRsa.h>

void ChilkatSample(void)
    {
    HCkRsa rsa;
    BOOL success;

    rsa = CkRsa_Create();

    success = CkRsa_UnlockComponent(rsa,"Anything for 30-day trial");
    if (success != TRUE) {
        //  The LastErrorText provides detailed information about
        //  any failure.  It is standard to all Chilkat components.
        //  This is good information to send to support@chilkatsoft.com
        printf("%s\n",CkRsa_lastErrorText(rsa));
        return;
    }

    success = CkRsa_GenerateKey(rsa,1024);
    if (success != TRUE) {
        //  The LastErrorText provides detailed information about
        //  any failure.  It is standard to all Chilkat components.
        //  This is good information to send to support@chilkatsoft.com
        printf("%s\n",CkRsa_lastErrorText(rsa));
        return;
    }



    CkRsa_Dispose(rsa);

    }

Need a specific example? Send a request to support@chilkatsoft.com

© 2000-2010 Chilkat Software, Inc. All Rights Reserved.