Back to product page

Technical and distribution information


General

wodCrypt component has two versions (both included in the package):

wodCryptCom is a COM object (wodCrypt.dll), designed to be initialized dynamically from your code, and declared from within your code. It does not have user interface, it is windowless. Usually, you will initialize it with
 
   Dim WithEvents Crypt1 as wodCryptCom
 

and wodCrypt as ActiveX control (wodCrypt.ocx) - designed to be put on application's form using drag&drop from control toolbox. Once you put it on the form, no special code is required to initialize it, since your environment (usually VB) will handle it.

COM object licensing is not directly supported by any container. Unlike ActiveX controls which are licensed the moment you put them on the form (if you have licensed version of wodCrypt, of course), you need one more line to put in your code to license wodCrypt correctly:
 
   Crypt1.LicenseKey = "put.your.key.here"
 



COM Object information
Filename wodCrypt.DLL (wodCrypt64.DLL for x64)
Class name WeOnlyDo.wodCryptCom.1
Class ID {BCE0DEB0-A4D9-4FB6-B341-095795BD01E0}
Events class ID {0x1360C0E9,0xDA32,0x4B8B,{0x9D,0xF5,0x24,0xD7,0x06,0x12,0x08,0x44}}
Compatibility VB 5.0 and above, VFP 5.0 and above
Built with Microsoft Visual Studio 2008 C++, OpenSSL
Required DLLs None required, wodKeys.dll optional, only if private keys are used.


ActiveX Control information
Filename wodCrypt.OCX (wodCrypt64.OCX for x64)
Class name WeOnlyDo.wodCrypt.1
Class ID {A80E4BE2-8434-4AFB-8AEC-B4A95812A0FF}
Events class ID {0x6F8CFC5F,0x12AC,0x419d,{0xB4,0x13,0xC9,0x50,0xCC,0x13,0x64,0x76}}
Compatibility VB 5.0 and above, VFP 5.0 and above
Built with Microsoft Visual Studio 2008 C++, OpenSSL
Required DLLs None required, wodKeys.dll optional, only if private keys are used.


Interfaces
IBlob {25066AD1-FAD5-452B-94EB-EE933E010692}
IFileBlob {F1C61E11-6FE4-4996-BD51-A44C73E32023}
IMemBlob {03670F5C-6088-4FA3-A9A1-96E93FC6605E}
IStreamBlob {A0B1B1C4-6F57-43E4-84AB-2F36061D5295}


Documentation
Help filename wodCrypt.CHM

Distribution note

When you develop and distribute an application that uses this component:
  1. Choose between COM object (wodCrypt.DLL/wodCrypt64.DLL) and the ActiveX control (wodCrypt.OCX/wodCrypt64.OCX) to include into the installation package. Both versions are independent on each other.
  2. You should include wodKeys.DLL/wodKeys64.DLL for Private Key management, or wodCertificate.DLL/wodCertificate64.DLL for Certificate management - if it is needed in your application. wodCrypt does not depend on it - only uses it for client authentication with the private key.
  3. Above binaries can be included royalty-free in your application.
  4. Use RegSvr32.EXE (or any other installer package creator) to register both the OCX and the DLL. Usually, installer software will do this for you
  5. Install the component file(s) into the user's Windows SYSTEM32 folder. The component file(s) has/have version information built into it. So, during installation, you should ensure that you are not overwriting a newer version.

Using licensed version

To use retail (licensed) version in your code, put your license key into LicenseKey property, immediately after initializing the component. For ActiveX control, you cannot do this (there is no LicenseKey property) because your license key will be read internally by wodCrypt.

Platforms

Windows