X509CertStoreAddCert (FUN)

FUNCTION X509CertStoreAddCert : RTS_IEC_RESULT

Add the given certificate to the Certificate store

InOut:

Scope

Name

Type

Comment

Return

X509CertStoreAddCert

RTS_IEC_RESULT

Handle to the imported certificate.

Input

hCertStore

RTS_IEC_HANDLE

Handle of to certificate store.

hBackend

RTS_IEC_HANDLE

Handle to the back-end where to store the generated certificate. RTS_INVALID_HANDLE should be used if no back- end is specified.

hCert

RTS_IEC_HANDLE

Handle of the certificate to be imported.

trustLevel

RtsCertTrustLevel

The category where to store the certificate. Note: RtsTrustLevel_Own ist not selectable.