xml.KeyStore.AddCertificate

Registers the given X509 certificate as a certificate for the application. It will be used when an incomplete X509 certificate is detected during signature or encryption to complete the process by checking the certificate issuer name and serial number.

Syntax

xml.KeyStore.AddCertificate( 
   cert xml.CryptoX509 )
  1. cert is the X509 certificate to register.

Usage

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

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).