login about faq

Dear Forum Members
I have a query regarding Digital Signature Implementation. I have Delphi 6 IDE. I have downloaded the Delphi ActiveX components. Imported the type libraries and registered the Delphi DLL's. I am trying to execute the sample examples which were given in the repository.

crypt := TChilkatCrypt2.Create(Self);

//  Any string argument automatically begins the 30-day trial.
success := crypt.UnlockComponent('30-day trial');
if (success <> 1) then
  begin
    ShowMessage('Crypt component unlock failed');
    Exit;
  end;

cert := TChilkatCert.Create(Self);
success := cert.LoadByCommonName('Chilkat Software, Inc.');
if (success <> 1) then
begin
    ShowMessage(cert.LastErrorText);
    Exit;
end;

The above code will always returns the loadbycommonname procedure with "0". Could you please let me know how to resolve the issue ?

asked Aug 29 '12 at 04:49

sasikanth_kv's gravatar image

sasikanth_kv
1222


You would need to change the string passed to LoadByCommonName to the name of your certificate. Also, if you already did it, then it would make sense to provide the available error information w/ your question -- meaning the contents of the LastErrorText property..

link

answered Aug 29 '12 at 09:38

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

I get this below error Memo1 ChilkatLog: LoadByCommonName: DllDate: Aug 5 2012 UnlockPrefix: NONE Username: BLRBMP025:skanumur Architecture: Little Endian; 32-bit Language: ActiveX VerboseLogging: 0 commonName: Chilkat Software, Inc. Failed to find certificate. Failed. --LoadByCommonName --ChilkatLog

(Aug 30 '12 at 08:39) sasikanth_kv
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×56

Asked: Aug 29 '12 at 04:49

Seen: 1,438 times

Last updated: Aug 30 '12 at 08:39

powered by OSQA