Occurs when Security Mode is <> None.
If you set SecurityMode to Sign or SignAndEncrypt you need additionally a Public Key (Certificate) and a Private Key.
If you want to use security you need a certificate. With our example program DEMO\UA\UACreateCert you can create your own certificate. The easiest way to use it with your programs is to add the private and the public keys as a resource in your project under menu "Project-> Resources and Images".
Add Private-Key as RCDATA and name it to: dOPCPrivateKey
Add Public-Key as RCDATA and name it to: dOPCPublicCertificate
If you want to load the Public Key and Private Key by your own e.g. from file then use this event.