xml.KeyStore.AddTrustedCertificate

Registers in the keystore the given X509 certificate as a trusted certificate for the application.

Syntax

xml.KeyStore.AddTrustedCertificate(
   global xml.CryptoX509 )
  1. global defines the X509 certificate to register.

Usage

This method registers the given X509 certificate as a trusted certificate for the application. It will be used for signature verification if no other certificate was set for that purpose.

The method has the same effect as the FGLPROFILE entry xml.keystore.calist.

In case of error, the method throws an exception and sets the status variable. Depending on the error, a human-readable description of the problem is available in the sqlca.sqlerrm register. See Error handling in GWS calls (status).