Discuss this help topic in SecureBlackbox Forum
TElX509Certificate.LoadFromFileAuto
Loads the certificate from file.
Declaration
Parameters
Return value
0 on success.
Error code otherwise.
If the format of the certificate is not recognized, SB_X509_ERROR_UNRECOGNIZED_FORMAT (0x5009) error is reported.
Description
This method attempts to read the certificate from the file. It recognizes the format automatically; if the format is not recognized, SB_X509_ERROR_UNRECOGNIZED_FORMAT (0x5009) error is reported. The supported formats are DER, PEM, PFX, SPC.