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

Data Structures

class  CryptoParamBuilder
 
struct  DataDigest
 
struct  ECCPoint
 
class  ICryptoAcceleratorListener
 
class  ICryptoAcceleratorManager
 
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
 
struct  OperationResult
 
class  ResultParser
 
struct  Scalar
 
class  SecurityFactory
 SecurityFactory allows creation of ICryptoManager and ICryptoAcceleratorManager. More...
 
struct  Signature
 

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  Mode { Mode::MODE_SYNC, Mode::MODE_ASYNC_POLL, Mode::MODE_ASYNC_LISTENER }
 
enum  RequestPriority { RequestPriority::REQ_PRIORITY_HIGH, RequestPriority::REQ_PRIORITY_NORMAL }
 
enum  ECCCurve {
  ECCCurve::CURVE_SM2, ECCCurve::CURVE_NISTP256, ECCCurve::CURVE_NISTP384, ECCCurve::CURVE_BRAINPOOLP256R1,
  ECCCurve::CURVE_BRAINPOOLP384R1
}
 
enum  OperationType { OperationType::OP_TYPE_VERIFY, OperationType::OP_TYPE_CALCULATE }
 
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_224, CURVE_P_256, CURVE_P_384, CURVE_P_521 }
 
enum  KeyFormat { KEY_FORMAT_X509, KEY_FORMAT_PKCS8, KEY_FORMAT_RAW }
 

Variables

static const uint32_t CA_RESULT_DATA_LENGTH = 96