secCertificateImport (Function) |
Top Previous Next |
The secCertificateImport function imports a certificate to the device.
Input: name : STRING The name to identify the certificate.
certificate : STRING The file name of the certificate to import.
key : STRING The file name of an optional private encryption key to use for the certificate.
replace : BOOL (default FALSE) When true an existing certificate will be replaced with the certificate.
Returns: INT
Declaration: FUNCTION secCertificateImport : INT;
Example:
INCLUDE rtcu.inc |