CryptoSymmetricEncrypt (FUN) ¶ FUNCTION CryptoSymmetricEncrypt : RTS_IEC_RESULT Perform a symmetric encryption using the algorithm handle. InOut: Scope Name Type Comment Return CryptoSymmetricEncrypt RTS_IEC_RESULT Result of the operation Input hAlgo RTS_IEC_HANDLE Handle to the algorithm. pPlainText POINTER TO RtsByteString Data to be encrypted key RtsCryptoKey Key to encrypt the data. Has to be a KeyType_Key key. pInitVector POINTER TO RtsByteString Init vector of the ecryption xEnablePadding BOOL Enables padding. If this is not enabled the plaintext length has to match a multiple of the block length. pCipherText POINTER TO RtsByteString Encrypted data.
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 01.04.2022, 08:12:33 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpCrypto Implementation.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpCrypto Implementation.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True SourceLibrary False LastModificationDateTime date 01.04.2022, 08:12:33 LibraryCategories library-category-list System|SysLibs Author string CODESYS Development GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description DocFormat reStructuredText Placeholder CmpCrypto Implementation Project CmpCrypto Implementation Title CmpCrypto Implementation Version version 3.5.18.0
EVTPARAM_CmpCodeMeterLicenseActivated (STRUCT) ¶ TYPE EVTPARAM_CmpCodeMeterLicenseActivated : STRUCT InOut: Name Type serialNo DWORD pszUpdateFile POINTER TO STRING
internal functions ¶ CodeMGetFeatureMapByFirmcode (Function)
CodeMGetFeatureMapByFirmcode (FUN) ¶ FUNCTION CodeMGetFeatureMapByFirmcode : UDINT InOut: Scope Name Type Return CodeMGetFeatureMapByFirmcode UDINT Input duiFirmcode UDINT duiProductcode UDINT
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 01.04.2022, 08:12:12 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpCodeMeter.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpCodeMeter.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 01.04.2022, 08:12:12 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description DocFormat reStructuredText Placeholder CmpCodeMeter Project CmpCodeMeter Title CmpCodeMeter Version version 3.5.18.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) CmpEventMgr Interfaces ¶ Library Identification ¶ Name: CmpEventMgr Interfaces Version: newest Company: System Namespace: CmpEventMgr_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpEventMgr Interfaces, * (System) SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
CmpCrypto Implementation Library Documentation ¶ Company System Title CmpCrypto Implementation Version 3.5.18.0 Categories System|SysLibs Author CODESYS Development GmbH Placeholder CmpCrypto Implementation Description 1 ¶ This library contains the implementation used to access cryptographic related functions. Contents: ¶ CmpCrypto Implementation Asymmetric Cryptography Functions Key Derivation Key Handling Symmetric Cryptography Indices and tables ¶ 1 Based on CmpCrypto Implementation.library, last modified 01.04.2022, 08:12:33. LibDoc 4.4.0.0-b.27 The content file CmpCrypto Implementation.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 01.04.2022, 08:12:33.
Asymmetric Cryptography ¶ CryptoAsymmetricDecrypt (Function) CryptoAsymmetricEncrypt (Function) CryptoDeletePrivateKey (Function) CryptoExportAsymmetricKey (Function) CryptoExportRawAsymmetricKey (Function) CryptoGenerateAsymmetricKeyPair (Function) CryptoGetAsymmetricKeyLength (Function) CryptoImportAsymmetricKey (Function) CryptoImportRawAsymmetricKey (Function) CryptoKeyAgreement (Function) CryptoLoadPrivateKey (Function) CryptoSignatureGenerate (Function) CryptoSignatureVerify (Function) CryptoStorePrivateKey (Function)
CmpCrypto Implementation ¶ Asymmetric Cryptography CryptoAsymmetricDecrypt (Function) CryptoAsymmetricEncrypt (Function) CryptoDeletePrivateKey (Function) CryptoExportAsymmetricKey (Function) CryptoExportRawAsymmetricKey (Function) CryptoGenerateAsymmetricKeyPair (Function) CryptoGetAsymmetricKeyLength (Function) CryptoImportAsymmetricKey (Function) CryptoImportRawAsymmetricKey (Function) CryptoKeyAgreement (Function) CryptoLoadPrivateKey (Function) CryptoSignatureGenerate (Function) CryptoSignatureVerify (Function) CryptoStorePrivateKey (Function) Functions CryptoGenerateRandomNumber (Function) CryptoGetAlgorithmById (Function) CryptoGetFirstAlgorithm (Function) CryptoGetNextAlgorithm (Function) CryptoRtsByteStringExit (Function) CryptoRtsByteStringInit (Function) CryptoRtsByteStringInit2 (Function) Key Derivation CryptoDeriveKey (Function) Key Handling CryptoKeyExit (Function) CryptoKeyInit (Function) Symmetric Cryptography CryptoGenerateHash (Function) CryptoHMACSign (Function) CryptoHMACVerify (Function) CryptoSymmetricDecrypt (Function) CryptoSymmetricEncrypt (Function)