SOFTING_T_DP_ACT_PARAM_RES_CON (STRUCT) ¶ TYPE SOFTING_T_DP_ACT_PARAM_RES_CON : STRUCT InOut: Name Type status UINT
SOFTING_T_DP_DATA_TRANSFER_CON (STRUCT) ¶ TYPE SOFTING_T_DP_DATA_TRANSFER_CON : STRUCT InOut: Name Type status UINT diag_entries INT
SOFTING_T_DP_DIAG_DATA (STRUCT) ¶ TYPE SOFTING_T_DP_DIAG_DATA : STRUCT InOut: Name Type station_status_1 USINT station_status_2 USINT station_status_3 USINT master_add USINT ident_number UINT
SOFTING_T_DP_DOWNLOAD_IND (STRUCT) ¶ TYPE SOFTING_T_DP_DOWNLOAD_IND : STRUCT InOut: Name Type data_len UINT rem_add USINT area_code USINT add_offset UINT
X509CertCheckHost (FUN) ¶ FUNCTION X509CertCheckHost : BOOL Check if a certificate is bound to a specific host name. Both subject and subject alternative names are checked. InOut: Scope Name Type Comment Return X509CertCheckHost BOOL True if the host name is part of the certificate. Input hCert RTS_IEC_HANDLE Handle of to certificate. pHost POINTER TO STRING Hostname to check. flags RtsX509CertCheckFlags Flags how to check for the host name. Values of the enumeration can be combined. pResult POINTER TO RTS_IEC_RESULT Pointer to the error code. ERR_PARAMETER: hCert is invalid, ERR_OK: everything went fine.
BasicCertificateHandling ¶ X509CertCheckHost (Function) X509CertCheckIP (Function) X509CertClose (Function) X509CertGetBinary (Function) X509CertGetContent (Function) X509CertGetPublicKey (Function) X509CertGetThumbprint (Function) X509CertHasExtendedKeyUsage (Function) X509CertHasKeyUsage (Function) X509CertIsAuthority (Function) X509CertIsDateValid (Function) X509CertIsSelfSigned (Function) X509CertKeyClose (Function) X509ParseCertificate (Function)
X509CertCheckIP (FUN) ¶ FUNCTION X509CertCheckIP : BOOL Check if a certificate is bound to a specific IP Address. InOut: Scope Name Type Comment Return X509CertCheckIP BOOL True if the IP is part of the certificate. Input hCert RTS_IEC_HANDLE Handle of to certificate. pIP POINTER TO SysSocket_Interfaces.INADDR IP adress to check in network byte order flags RtsX509CertCheckFlags Flags how to check for the IP address. Values of the enumeration can be combined. pResult POINTER TO RTS_IEC_RESULT Pointer to the error code. ERR_PARAMETER: hCert is invalid, ERR_OK: everything went fine.
X509CertClose (FUN) ¶ FUNCTION X509CertClose : RTS_IEC_RESULT Close the certificate. InOut: Scope Name Type Comment Return X509CertClose RTS_IEC_RESULT Result of the operation. Input hCert RTS_IEC_HANDLE Handle of to certificate.
X509CertGetBinary (FUN) ¶ FUNCTION X509CertGetBinary : RTS_IEC_RESULT Get the certificate in a binary encoded format. Use the encoding parameter to set the needed format. InOut: Scope Name Type Comment Return X509CertGetBinary RTS_IEC_RESULT Result of the operation. Input hCert RTS_IEC_HANDLE Handle of the certificate of intrest. encoding RtsCertEncoding How to encode the certificate. pCert POINTER TO RtsByteString Buffer where to store the certificate. If the bytestring contains a NULL memory pointer the function will write the needed bufferlength to the pCert->ui32Length member.
X509CertGetContent (FUN) ¶ FUNCTION X509CertGetContent : RTS_IEC_RESULT Get some common content from the certificate. InOut: Scope Name Type Comment Return X509CertGetContent RTS_IEC_RESULT Result of the operation. Input hCert RTS_IEC_HANDLE Handle of the certificate of intrest. pCertContent POINTER TO RtsX509CertInfo Pointer where to store the information.