X509CertStoreGetRegisteredCert (FUN) ¶ FUNCTION X509CertStoreGetRegisteredCert : RTS_IEC_HANDLE Get the certificate available for a registered use case. If not certificate is available RTS_INVALID_HANDLE will be returned. The following rules apply for selecting the certificate: Check if a certificate is configured by the user. (The thumb-print is pinned for component and index). Use this one if available, return error if not available. If no certificate is configured filter the available certificates by subject, key usage, extended key usage and a valid timestamp. Return error if list is empty. Split the available certificates by signed and self signed certificates. Prefer the signed certificates over the self signed certificates: Select the certificate with the longest period of validity. If some certificates have the same period of validity select the one with the strongest key. InOut: Scope Name Type Comment Return X509CertStoreGetRegisteredCert RTS_IEC_HANDLE Handle to the certificate. Use X509CertClose to close the certificate. Input hCertStore RTS_IEC_HANDLE Handle of to certificate store. hUseCase RTS_IEC_HANDLE Handle to the registered use case. Retrieved using X509CertStoreRegister. pResult POINTER TO RTS_IEC_RESULT Pointer to error code
X509CertStoreOpen (FUN) ¶ FUNCTION X509CertStoreOpen : RTS_IEC_HANDLE Open the certificate store. InOut: Scope Name Type Comment Return X509CertStoreOpen RTS_IEC_HANDLE Handle to the certificate store Input componentID UDINT ID of the component opening the certificate store. pResult POINTER TO RTS_IEC_RESULT Result of the operation.
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
X509CertStoreSearchGetFirst (FUN) ¶ FUNCTION X509CertStoreSearchGetFirst : RTS_IEC_HANDLE Search for the given certificate in the cert store. InOut: Scope Name Type Comment Return X509CertStoreSearchGetFirst RTS_IEC_HANDLE Handle to the first certificate matching the filter criteria. Input hCertStore RTS_IEC_HANDLE Handle of to certificate store. pFilters POINTER TO RtsX509CertFilter Pointer to array of filters to be applied. ui32NumOfFilters UDINT Number of applied filters. pResult POINTER TO RTS_IEC_RESULT
BranchNamedTreeNode.proChildren (PROP) ¶ PROPERTY proChildren : POINTER TO ARRAY [0..100] OF IBaseTreeNode
CaseSensitiveNamedTreeNode (FB) ¶ FUNCTION_BLOCK CaseSensitiveNamedTreeNode EXTENDS NamedTreeNode Properties: CaseSensitiveComparison ChildCount , inherited from AbstrTreeNode Name , inherited from NamedTreeNode Sorted , inherited from AbstrTreeNode abstrNodeType , inherited from AbstrTreeNode proChildren , inherited from AbstrTreeNode Methods: FindChildByName , inherited from NamedTreeNode GetChild , inherited from AbstrTreeNode GetFather , inherited from AbstrTreeNode QueryInterface , inherited from NamedTreeNode Structure: CaseSensitiveComparison (Property)
CaseSensitiveNamedTreeNode.CaseSensitiveComparison (PROP) ¶ PROPERTY CaseSensitiveComparison : BOOL
DintToDintMap (FB) ¶ FUNCTION_BLOCK DintToDintMap EXTENDS BaseMap Properties: Capacity , inherited from BaseVector Count , inherited from BaseVector proUseOptimizedSortForInsertionAtTheEnd , inherited from BaseMap Methods: AddDintPair GetValue BeginUpdate , inherited from BaseMap Clear , inherited from BaseVector EndUpdate , inherited from BaseMap InitMemory , inherited from BaseVector RemoveLast , inherited from BaseVector ReserveSpace , inherited from BaseVector proAfterAlloc , inherited from BaseVector proRemove , inherited from BaseVector Structure: AddDintPair (Method) GetValue (Method)
DintToDintMap.AddDintPair (METH) ¶ METHOD AddDintPair : UDINT InOut: Scope Name Type Return AddDintPair UDINT Input diKey DINT diValue DINT
DintToDintMap.GetValue (METH) ¶ METHOD GetValue : DINT InOut: Scope Name Type Return GetValue DINT Input diKey DINT Output udiResult UDINT