WeOnlyDo! wodWebServer ActiveX - Certificate Property
      
 

Description

Holds user's client certificate (if provided).


Property type

An ICertificate object.  


Syntax

object.Certificate



The Certificate Property syntax has these parts:

Part Description
object An expression evaluating to an object of type WebUser.

Remarks

Certificate property holds user's Certificate, if it was provided, and can be used only if SSL/TLS was enabled in Secure property. You should test this value inside UserAuthenticate event, if AuthType argument in that event is set to AuthCertificate. Typical way to check if user provided correct certificate is to test certificate's public key - if it matches one in your database. You can use wodCertificate object and it's PublicKeyOpenSSH property as convenient way to test if public key matches.