secCertificateRemove (Function)

Top  Previous  Next

Architecture:

NX32L

Firmware version:

1.08.00


The secCertificateRemove function removes a certificate from the device.

 

 

Input:

name : STRING

The name of the certificate.

 

 

Returns: INT

1

- Success.

0

- The function is not supported.

-1

- Could not find the certificate.

 

Declaration:

FUNCTION secCertificateRemove : INT;
VAR_INPUT
   name : STRING;
END_VAR;

 

 


Example:

 

INCLUDE rtcu.inc
 
PROGRAM example;
 
BEGIN
   ...
  // Remove certificate
  secCertificateRemove(name := "CertificateName");
   ...
END;
END_PROGRAM;