com.HttpRequest.clearCertificateAndKey

Removes the client certificate and key set by setCertificateAndKey().

Syntax

clearCertificateAndKey()

Usage

Removes the certificate and key set by setCertificateAndKey().

Once the certificate and key are removed, FGLPROFILE entries for security.global.certificate, security.idsec.certificate, security.global.privatekey, and security.idsec.privatekey that exist will be used for authentication instead.

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