xml.CryptoX509.loadPEM
Loads a X509 certificate from a file in PEM format.
Syntax
loadPEM(
filename STRING )
- filename defines the filename or an entry in the FGLPROFILE
file.
If your FGLPROFILE contains an entry like
xml.myCert.x509="/opt/fourjs/crt/myCert.crt"(where "myCert" is the certificate identifier), pass "myCert" to the method to retrieve that value. For an example of loading a certificate, refer to Loading a certificate from a PEM file. For more on security-related FGLPROFILE entries, go to XML configuration and FGLPROFILE: XML cryptography.
Usage
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).