CXI
Loading...
Searching...
No Matches
Classes | Functions
cxi Namespace Reference

Classes

class  ByteArray
 Encapsulates an array of primitive type char in an object and provides methods to operate on binary data. More...
 
class  Config
 Reads and parses configuration files and provides methods to access configuration items. More...
 
class  Cxi
 Command interface to CXI firmware module. Handles all communication with the CryptoServer. More...
 
class  Exception
 Constructs an exception object. More...
 
class  Hash
 Computes hash values. More...
 
class  Key
 Encapsulates key handles or key blobs of type 'Backup Blob', see Format of Key Blobs. More...
 
class  KeyBlob
 Constructs and parses key blobs of type 'Simple Blob', see Format of Key Blobs. More...
 
class  KeyList
 Encapsulates an array of key property lists, see PropertyList. More...
 
class  KeyStore
 Key store for external (MBK encrypted) keys. More...
 
class  Log
 Provides unified logging. More...
 
class  MechanismParameter
 Constructs mechanism parameter that are used on cryptographic operations. A mechanism parameter consists of a mechanism specifier and optional parameters. More...
 
class  MechParam
 Constructs a simple mechanism parameter that only consists of a mechanism specifier without additional parameter data. More...
 
class  MechParamCCM
 Constructs a mechanism parameter for AES encryption or decryption with "Counter with Cipher Block Chaining - Message Authentication Code", abbreviated CCM (see NIST SP 800-38C). More...
 
class  MechParamECIES
 Constructs a mechanism parameter for 'Elliptic Curve (Augmented) Encryption Scheme' (ECIES, see ANSI X9.63). More...
 
class  MechParamGCM
 Constructs a mechanism parameter for AES encryption or decryption with Galois Counter Chaining (GCM, see NIST SP-800-38D). More...
 
class  MechParamGMAC
 Constructs a mechanism parameter for Galois Counter MAC (GMAC) creation or verification. More...
 
class  MechParamOAEP
 Constructs a mechanism parameter that can be used on RSA encryption operations with the PKCS#1, v2.1 RSAES-OAEP encryption / decryption padding scheme. More...
 
class  MechParamPSS
 Constructs a mechanism parameter for PKCS#1, v2.1 RSAES-PSS signature creation / verification padding scheme. More...
 
class  Property
 Creates and parses property values of different types. More...
 
class  PropertyList
 Constructs and parses key property lists, see Key Properties. More...
 
class  Util
 Utility Functions. More...
 

Functions

static void findField (const char tag[], const unsigned char *p_data, unsigned int l_data, int idx, const char **p_field, unsigned int *p_l_field)
 
ByteArray operator+ (const ByteArray &ba1, const ByteArray &ba2)
 

Detailed Description

CXI logging interface based on util::logging Note that cxi::Log implementation (now deprecated for internal use) uses this in the background

Function Documentation

◆ findField()

static void findField ( const char  tag[],
const unsigned char *  p_data,
unsigned int  l_data,
int  idx,
const char **  p_field,
unsigned int *  p_l_field 
)
static

Internal find method returning start and length of complete field (incl. tag and length)

◆ operator+()

ByteArray operator+ ( const ByteArray ba1,
const ByteArray ba2 
)

Concatenates two byte arrays.

Parameters
ba1first byte array
ba2second byte array to be concatenated
Returns
concatenated byte array
Exceptions
cxi::Exceptionif memory allocation fails