LibLogicalAccess
2.5.0
An Open Source RFID Library
|
#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::Stub > | stub_ |
Wraps a RPC client to IKS.
|
explicit |
ByteVector logicalaccess::iks::IKSRPCClient::aes_decrypt | ( | const ByteVector & | in, |
const std::string & | key_name, | ||
const ByteVector & | iv, | ||
::logicalaccess::SignatureResult * | out_signature = nullptr |
||
) |
ByteVector logicalaccess::iks::IKSRPCClient::aes_encrypt | ( | const ByteVector & | in, |
const std::string & | key_name, | ||
const ByteVector & | iv | ||
) |
SMSG_DesfireAESAuth_Step1 logicalaccess::iks::IKSRPCClient::desfire_auth_aes_step1 | ( | CMSG_DesfireAESAuth_Step1 | req | ) |
SMSG_DesfireAuth_Step2 logicalaccess::iks::IKSRPCClient::desfire_auth_aes_step2 | ( | CMSG_DesfireAuth_Step2 | req | ) |
SMSG_DesfireISOAuth_Step1 logicalaccess::iks::IKSRPCClient::desfire_auth_iso_step1 | ( | CMSG_DesfireISOAuth_Step1 | req | ) |
SMSG_DesfireAuth_Step2 logicalaccess::iks::IKSRPCClient::desfire_auth_iso_step2 | ( | CMSG_DesfireAuth_Step2 | req | ) |
SMSG_DesfireChangeKey logicalaccess::iks::IKSRPCClient::desfire_change_key | ( | CMSG_DesfireChangeKey | req | ) |
ByteVector logicalaccess::iks::IKSRPCClient::gen_random | ( | int | size | ) |
|
private |
|
private |
|
private |