Skip to main content

Cpp Development

The Pi Soft kS Engine C++ API comprises two groups of components: TEAgent and TEAdmin. Be sure to review the Environment Settings and Creating a Secure Connection to Key Services The C++ Package Overview contains a full listing of both components along with class diagrams.

TEAdmin Components

The C++ TEAdmin package provides functionalities used in managing an Pi Soft key service, such as adding a user, changing a password and changing user roles.

The general procedure for working with the C++ TEAdmin package is as follows: (1) create a TEConnection object with the secured mode and open a connection to the key service; (2) create a working object of TEADmin class and attach the connection to it; and (3) use the different methods of the TEAdmin class to do the desired work, such as adding users and assigning roles.

Below is a list of the types of code samples available using the TEAdmin component group.  These code samples can also be found in the Sample folder in the sdk.

TEAgent Components

The Pi Soft C++ TEAgent group of components provides functionalities such as encrypting, decrypting and hashing data. The C++ TEAgent component group is composed of a number of classes, which can be used intuitively for different purposes.

The general procedure working with the C++ TEAgent group of components is follows: (1) create a TEConnection object and open a connection a Key Server; (2) create a working object of a class such as TEAgentMatrix and attach it to the connection object; (3) use the working object to do the desired work such as encrypting, decrypting and hashing; and (4) detach the working object from the connection object and close the connection.

Below is a list of code samples using the TEAgent component group.  These code samples can also be found in the Sample folder in the sdk.