X509CertStoreRegister (FUN)

FUNCTION X509CertStoreRegister : RTS_IEC_HANDLE

Register your certificate at the certificate store. This has to be done in order to allow the user the view the different configured certificates and to generate missing certificates or to renew outdated certificates. Register the same information you are using in the X509CertStoreSearch function.

InOut:

Scope

Name

Type

Comment

Return

X509CertStoreRegister

RTS_IEC_HANDLE

Input

hCertStore

RTS_IEC_HANDLE

Handle of to certificate store.

cmpID

UDINT

Component ID which registered the certificate

pCertInfo

POINTER TO RtsX509CertInfo

Certificate information to be registered. Should match the information needed to use the Search function.

pResult

POINTER TO RTS_IEC_RESULT

Pointer to error code