X509CertCreateCSR (FUN)ΒΆ
FUNCTION X509CertCreateCSR : RTS_IEC_RESULT
Create a new certificate request. A new PRIVATE key will be generated and automatically stored in the key store. The certificate request can be sent to an official CA to get a signed certificate.
- InOut:
Scope
Name
Type
Comment
Return
X509CertCreateCSRRTS_IEC_RESULTInput
hCertStoreRTS_IEC_HANDLEHandle to the certificate store
hBackendRTS_IEC_HANDLEHandle to the back-end where to store the generated certificate. RTS_INVALID_HANDLE should be used if no back- end is specified.
pCertInfoPOINTER TO RtsX509CertInfo
Information of the certificate to be generated.
ui32KeySizeUDINTSize in bits of the private key.
encodingRtsCertEncodingEncoding of the generated CSR.
pCSRPOINTER TO RtsByteString
The signing request in binary form.