xml.KeyStore.AddTrustedCertificate

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.

Syntax

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

Usage

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.

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 with the appropriate error number.