CmpCrypto Library Documentation ¶ Company System Title CmpCrypto Version 3.5.17.0 Categories System|SysLibs Author 3S - Smart Software Solutions GmbH Placeholder CmpCrypto Description 1 ¶ This library contains all external functions of the CmpCrypto interface Indices and tables ¶ 1 Based on CmpCrypto.library, last modified 20.04.2021, 15:38:32. LibDoc 4.4.0.0-b.27 The content file CmpCrypto.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 15:38:32.
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 15:38:32 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpCrypto.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpCrypto.clean.json version version 2.0.0.0 ProjectInformation IsCommonLibraryContainer bool True Released True LastModificationDateTime date 20.04.2021, 15:38:32 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace Description See: Description DocFormat reStructuredText Placeholder CmpCrypto Project CmpCrypto Title CmpCrypto Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CmpCrypto Implementation ¶ Library Identification ¶ Placeholder: CmpCrypto Implementation Default Resolution: CmpCrypto Implementation, * (System) Namespace: CmpCrypto_Implementation Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: False SystemLibrary: False Key: CmpCrypto Implementation CmpCrypto Interfaces ¶ Library Identification ¶ Name: CmpCrypto Interfaces Version: newest Company: System Namespace: CmpCrypto_Interfaces Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: False SystemLibrary: False Key: CmpCrypto Interfaces, * (System)
CmpCrypto Interfaces Library Documentation ¶ Company System Title CmpCrypto Interfaces Version 3.5.18.0 Categories System|SysLibs Author CODESYS Development GmbH Description 1 ¶ This interface contains types needed to access the cryptographic functions of CmpCrypto Implementation. Contents: ¶ CmpCrypto Interfaces Enums Structs Unions Indices and tables ¶ 1 Based on CmpCrypto_Itfs.library, last modified 01.04.2022, 08:12:53. LibDoc 4.4.0.0-b.27 The content file CmpCrypto_Itfs.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 01.04.2022, 08:12:53.
CmpCrypto Interfaces ¶ Enums RtsCryptoID (Enum) RtsCryptoKeyType (Enum) RtsCryptoType (Enum) Structs RtsByteString (Struct) RtsCryptoKey (Struct) RtsScryptParameter (Struct) Unions RtsCryptoKeyStorage (Union) RtsKdfParameter (Union)
Enums ¶ RtsCryptoID (Enum) RtsCryptoKeyType (Enum) RtsCryptoType (Enum)
RtsCryptoID (ENUM) ¶ TYPE RtsCryptoID : Attributes: qualified_only InOut: Name Initial Comment AES_128_CBC 16#1001 AES 128 bit key in CBC mode AES_128_CFB 16#1002 AES 128 bit key in CFB mode AES_256_CBC 16#1003 AES 256 bit key in CBC mode DES_CBC 16#1004 DES 64 bit key in CBC mode AES_256_CTR 16#1005 AES 256 bit key in CTR mode AES_128_CTR 16#1006 AES 128 bit key in CTR mode RSA 16#2001 Plain RSA asymmetric encryption. Not recommended. RSA_OAEP_PADDING 16#2002 RSA asymmetric encryption with OAEP (SHA1) padding. RSA_PKCS1_V15_PADDING 16#2003 RSA asymmetric encryption with #PKCS1 v1.5 padding. Not recommended. RSA_OAEP_SHA256_PADDING 16#2004 RSA asymmetric encryption with OAEP (SHA-256) padding. HASH_MD5 16#3001 MD5 checksum. Not cryptographically safe. HASH_SHA1 16#3002 SHA1 checksum. Not cryptographically safe. HASH_SHA224 16#3003 SHA-224 checksum. HASH_SHA256 16#3004 SHA-256 checksum. HASH_SHA384 16#3005 SHA-384 checksum. HASH_SHA512 16#3006 SHA-512 checksum. HMAC_MD5 16#4001 HMAC based on MD5. Not cryptographically safe. HMAC_SHA1 16#4002 HMAC based on SHA1. Not cryptographically safe. HMAC_SHA224 16#4003 HMAC based on SHA-224. HMAC_SHA256 16#4004 HMAC based on SHA-256. HMAC_SHA384 16#4005 HMAC based on SHA-384. HMAC_SHA512 16#4006 HMAC based on SHA-512. RSA_PKCS1_V15_SHA1 16#5001 Asymmetric signature based on RSA, SHA1 and #PKCS1 v1.5 padding. Not recommended. RSA_PKCS1_V15_SHA256 16#5002 Asymmetric signature based on RSA, SHA-256 and #PKCS1 v1.5 padding. Not recommended. RSA_PSS_SHA256 16#5005 Asymmetric signature based on RSA, SHA-256 and PSS padding. KDF_PSHA1 16#6001 TLS key derivation function based on SHA1. Not recommeded for key generation based on passwords. KDF_PSHA256 16#6002 TLS key derivation function based on SHA-256. Not recommeded for key generation based on passwords. KDF_SCRYPT 16#6003 Scrypt key derivation function. Recommeded to expand passwords into cryptographic keys, or to hash passwords. ECDH_X25519 16#7001 X25519 elliptic curce key exchange protocol
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)