Telematics SDK - API Reference  v1.51.0
telux::sec Namespace Reference

Data Structures

class  CryptoParamBuilder
 
class  ICryptoManager
 ICryptoManager provides key management and crypto operation support. It uses trusted hardware bound crypto. All keys generated are bound to the device cryptographically. More...
 
class  ICryptoParam
 
class  SecurityFactory
 SecurityFactory allows creation of CryptoManager. More...
 

Typedefs

using CryptoOperationTypes = int32_t
 
using BlockModeTypes = int32_t
 
using PaddingTypes = int32_t
 
using DigestTypes = int32_t
 
using AlgorithmTypes = int32_t
 
using CurveTypes = int32_t
 

Enumerations

enum  CryptoOperation { CRYPTO_OP_ENCRYPT = (1 << 1), CRYPTO_OP_DECRYPT = (1 << 2), CRYPTO_OP_SIGN = (1 << 3), CRYPTO_OP_VERIFY = (1 << 4) }
 
enum  BlockMode { BLOCK_MODE_ECB = (1 << 1), BLOCK_MODE_CBC = (1 << 2), BLOCK_MODE_CTR = (1 << 3), BLOCK_MODE_GCM = (1 << 4) }
 
enum  Padding {
  PADDING_NONE = (1 << 1), PADDING_RSA_OAEP = (1 << 2), PADDING_RSA_PSS = (1 << 3), PADDING_RSA_PKCS1_1_5_ENC = (1 << 4),
  PADDING_RSA_PKCS1_1_5_SIGN = (1 << 5), PADDING_PKCS7 = (1 << 6)
}
 
enum  Digest {
  DIGEST_NONE = (1 << 1), DIGEST_MD5 = (1 << 2), DIGEST_SHA1 = (1 << 3), DIGEST_SHA_2_224 = (1 << 4),
  DIGEST_SHA_2_256 = (1 << 5), DIGEST_SHA_2_384 = (1 << 6), DIGEST_SHA_2_512 = (1 << 7)
}
 
enum  Algorithm {
  ALGORITHM_UNKNOWN, ALGORITHM_RSA, ALGORITHM_EC, ALGORITHM_AES,
  ALGORITHM_HMAC
}
 
enum  Curve { CURVE_P_0 = 1, CURVE_P_256, CURVE_P_384, CURVE_P_521 }
 
enum  KeyFormat { KEY_FORMAT_NONE, KEY_FORMAT_X509, KEY_FORMAT_PKCS8, KEY_FORMAT_RAW }