wodPop3Server ActiveX Control - Certificate Property
      
 

Description

Holds private certificate/private key information.


Property type

An ICertificate object.  


Syntax

[Set] object.Certificate [= Object]



The Certificate Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodPop3Server.
Object An ICertificate object.

Remarks

Certificate property must be set when wodPop3Server is used in secure mode - with Security setting other than SecurityNone. In those cases you need private key and a certificate, so you use to decrypt data coming from the client. Certificate property will hold this key from you, from wodCertificate object.

You can load both certificate (shown to the client) and the private key (for decrypting data). You can try using it this way:

Dim cert As Certificate
Set cert = new Certificate
cert.Load "mycertificate.cer"
cert.LoadKey "myprivkey.txt", mypassword
Set FtpD.Certificate = cert

If you don't specify this property for secure POP3 server and try to start the server, an error will be generated.