LibLogicalAccess  2.5.0
An Open Source RFID Library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
logicalaccess::iks::IKSRPCClient Class Reference

#include <IKSRPCClient.hpp>

Public Member Functions

 IKSRPCClient (IslogKeyServer::IKSConfig config)
 
ByteVector gen_random (int size)
 
ByteVector aes_encrypt (const ByteVector &in, const std::string &key_name, const ByteVector &iv)
 
ByteVector aes_decrypt (const ByteVector &in, const std::string &key_name, const ByteVector &iv, ::logicalaccess::SignatureResult *out_signature=nullptr)
 
SMSG_DesfireISOAuth_Step1 desfire_auth_iso_step1 (CMSG_DesfireISOAuth_Step1 req)
 
SMSG_DesfireAuth_Step2 desfire_auth_iso_step2 (CMSG_DesfireAuth_Step2 req)
 
SMSG_DesfireAESAuth_Step1 desfire_auth_aes_step1 (CMSG_DesfireAESAuth_Step1 req)
 
SMSG_DesfireAuth_Step2 desfire_auth_aes_step2 (CMSG_DesfireAuth_Step2 req)
 
SMSG_DesfireChangeKey desfire_change_key (CMSG_DesfireChangeKey req)
 

Private Attributes

IslogKeyServer::IKSConfig config_
 
std::shared_ptr<::grpc::ChannelInterface > channel
 
std::unique_ptr< IKSService::Stubstub_
 

Detailed Description

Wraps a RPC client to IKS.

Constructor & Destructor Documentation

◆ IKSRPCClient()

logicalaccess::iks::IKSRPCClient::IKSRPCClient ( IslogKeyServer::IKSConfig  config)
explicit

Member Function Documentation

◆ aes_decrypt()

ByteVector logicalaccess::iks::IKSRPCClient::aes_decrypt ( const ByteVector in,
const std::string &  key_name,
const ByteVector iv,
::logicalaccess::SignatureResult out_signature = nullptr 
)

◆ aes_encrypt()

ByteVector logicalaccess::iks::IKSRPCClient::aes_encrypt ( const ByteVector in,
const std::string &  key_name,
const ByteVector iv 
)

◆ desfire_auth_aes_step1()

SMSG_DesfireAESAuth_Step1 logicalaccess::iks::IKSRPCClient::desfire_auth_aes_step1 ( CMSG_DesfireAESAuth_Step1  req)

◆ desfire_auth_aes_step2()

SMSG_DesfireAuth_Step2 logicalaccess::iks::IKSRPCClient::desfire_auth_aes_step2 ( CMSG_DesfireAuth_Step2  req)

◆ desfire_auth_iso_step1()

SMSG_DesfireISOAuth_Step1 logicalaccess::iks::IKSRPCClient::desfire_auth_iso_step1 ( CMSG_DesfireISOAuth_Step1  req)

◆ desfire_auth_iso_step2()

SMSG_DesfireAuth_Step2 logicalaccess::iks::IKSRPCClient::desfire_auth_iso_step2 ( CMSG_DesfireAuth_Step2  req)

◆ desfire_change_key()

SMSG_DesfireChangeKey logicalaccess::iks::IKSRPCClient::desfire_change_key ( CMSG_DesfireChangeKey  req)

◆ gen_random()

ByteVector logicalaccess::iks::IKSRPCClient::gen_random ( int  size)

Member Data Documentation

◆ channel

std::shared_ptr<::grpc::ChannelInterface> logicalaccess::iks::IKSRPCClient::channel
private

◆ config_

IslogKeyServer::IKSConfig logicalaccess::iks::IKSRPCClient::config_
private

◆ stub_

std::unique_ptr<IKSService::Stub> logicalaccess::iks::IKSRPCClient::stub_
private

The documentation for this class was generated from the following files: