RtsCryptoKeyType (ENUM) ¶ TYPE RtsCryptoKeyType : Attributes: qualified_only InOut: Name Initial Comment KeyType_Key 0 The key is directly available. Stored in a RTS_BYTESTRING. Use this for symmetric keys. KeyType_CertHandle 1 The key is identified by a handle to the certificat. Only used for asymmetric keys. KeyType_CertContent 2 The key is identified by the certificate context. Not used.
RtsCryptoType (ENUM) ¶ TYPE RtsCryptoType : Attributes: qualified_only InOut: Name Initial Comment SYMMETRIC 16#1000 Symmetric encryption algorithm ASYMMETRIC 16#2000 Asymmetric encryption algorithm HASH 16#3000 Hash algorithm HMAC 16#4000 Hashed message authentication code algorithm SIGNATURE 16#5000 Asymmetric signature algorithm. KEYDERIVE 16#6000 Key derivation algorithm. KEYAGREEMENT 16#7000 Key agreement algorithm.
Structs ¶ RtsByteString (Struct) RtsCryptoKey (Struct) RtsScryptParameter (Struct)
RtsByteString (STRUCT) ¶ TYPE RtsByteString : STRUCT This a representation of a byte string. InOut: Name Type Comment ui32Len UDINT Current length of data stored in the buffer. ui32MaxLen UDINT The allocated size of the buffer. pByData POINTER TO BYTE Pointer to buffer xDynamic BOOL Indicates if the data was allocated dynamically
RtsCryptoKey (STRUCT) ¶ TYPE RtsCryptoKey : STRUCT A cryptographic key. InOut: Name Type Comment keyType RtsCryptoKeyType The type of the key. key RtsCryptoKeyStorage Information of the key. Actually only the KeyType_Key is supported.
RtsScryptParameter (STRUCT) ¶ TYPE RtsScryptParameter : STRUCT InOut: Name Type Comment iterations UDINT How many iterations are done. Affects CPU and RAM usage. blockSize UDINT The block size affects memory an CPU usage. parallelismFactor UDINT Setup the number of threads to run in parallel. Should be 1.
CmpEventMgr Interfaces Library Documentation ¶ Company System Title CmpEventMgr Interfaces Version 3.5.17.0 Categories System|SysLibs Author CODESYS Development GmbH Description 1 ¶ This library provides access to the event manager of the runtime system. The event manager handles events from components (provider) and transmits these events via callbacks to IEC consumers (functions or function-blocks). Contents: ¶ Constants (GVL) EventClass (GVL) EventParam (Struct) EventParam2 (Struct) ICmpEventCallback (Interface) EventCallback (Method) Indices and tables ¶ 1 Based on CmpEventMgr_Itfs.library, last modified 20.04.2021, 15:40:36. LibDoc 4.4.0.0-b.27 The content file CmpEventMgr_Itfs.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 15:40:36.
Constants (GVL) ¶ InOut: Scope Name Type Initial Comment Constant EVENT_CALLBACKS_NO_LIMIT UDINT 16#FFFFFFFF No limit of callbacks possible per event CMPID_CmpEventMgr UDINT 16#5B ITFID_ICmpEventCallback UDINT 16#25
EventClass (GVL) ¶ Event class InOut: Scope Name Type Initial Comment Constant EVTCLASS_NONE UINT 0 No class OR invalid EVTCLASS_ALL UINT 16#FFFF All classes EVTCLASS_INFO UINT 16#1 Information EVTCLASS_WARNING UINT 16#2 Warning EVTCLASS_ERROR UINT 16#4 Error EVTCLASS_EXCEPTION UINT 16#8 Exception EVTCLASS_VENDOR_SPEC UINT 16#1000 Vendor specific. Can be used for own event classes
EventParam (STRUCT) ¶ TYPE EventParam : STRUCT InOut: Name Type Comment EventId DWORD EventID of the event. Contains the class and the event CmpIdProvider DWORD Component ID of the provider. usParamId WORD Id of the parameter structure (see pParameter) usVersion WORD Version of the parameter structure (see pParameter) pParameter POINTER TO BYTE Pointer to the event specific parameter, that is specified by Id (see usParamId)