wodPop3 ActiveX Control - Certificate Property
      
 

Description

Holds local certificate to be used for authentication.


Property type

A ICertificate object.  Reference to object that holds certificate (and private key) information.


Syntax

[Set] object.Certificate [= ICertificate]



The Certificate Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodPop3.
ICertificate A ICertificate object.

Remarks

If you don't plan to deal with certificates or private keys, most probably you will never use this property. But - if you plan to connect to servers that require client certificate for the connection then you will need to specify this property.

This property should be set to valid ICertificate object which is part of our 'Certificate Management library' shipped with the installation package of wodPop3. It will allow you to Load, Save, Generate... certificates which can be used directly by the server, or should by signed by 3rd party authority and then used with the server. It can combine both OpenSSL type certificates, as well ones located in your Microsoft Windows crypto stores - and handle them transparently.

Setting certificate is really easy. Typically, you could do it like this:

Set Pop3.Certificate = New Certificate
Pop3.Certificate.Load "C:\mycert.cer"
Pop3.Certificate.LoadKey "C:\mycert.key"

 

wodPop3 internally will never create this object (it only uses it), so if you don't plan to use ICertificate object, you don't have to distribute wodCertificate.DLL with your application.