Question:
We work with Delphi XE2.
We have downloaded: Chilkat-9.4.0-delphi.zip. (dll)
We only use this code for PKCS7 signatures:
crypt := CkCrypt2_Create;
if CkCrypt2_UnlockComponent(crypt,'30-day trial')=false then begin ShowMessage('Crypt component unlock failed'); Exit; end;
cert := CkCert_Create; if CkCert_LoadByCommonName(cert,PWideChar(scn))=false then begin ShowMessage('error :'); Exit; end;
// Make sure this certificate has a private key available:
if CkCert_HasPrivateKey(cert)=false then begin ShowMessage('No private key available for signing.'); Exit; end;
CkCrypt2_putEncodingMode(crypt,'base64'); CkCrypt2_SetSigningCert(crypt,cert); outstr:=CkCrypt2__opaqueSignStringENC(crypt, inStr);
What license should I buy?
Thanks.
The API reference shows into which products the code is grouped: http://www.chilkatsoft.com/refdoc/dd.asp
So, CkCrypt2 is part of the "Crypt2" product. CkCert (among others) is freeware. Pricing and licensing info here: http://www.chilkatsoft.com/purchase2.asp
Also make sure to look at the bundles, they are very cheap compared to buying (multiple) separate products