LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
logicalaccess::IAESCryptoService Class Referenceabstract

#include <aes_crypto_service.hpp>

Inheritance diagram for logicalaccess::IAESCryptoService:
logicalaccess::AESCryptoPKCSProvider

Public Member Functions

virtual ByteVector aes_encrypt (const ByteVector &data, const ByteVector &iv, std::shared_ptr< Key > key)=0
 
virtual ByteVector aes_decrypt (const ByteVector &data, const ByteVector &iv, std::shared_ptr< Key > key)=0
 

Detailed Description

Interface that should be implemented by plugin that provide cryptographic service.

Instance of this class are loaded the AESCryptoService and the plugin manager in order to use cryptographic backend that match the KeyStorage of a given key.

Member Function Documentation

◆ aes_decrypt()

virtual ByteVector logicalaccess::IAESCryptoService::aes_decrypt ( const ByteVector data,
const ByteVector iv,
std::shared_ptr< Key key 
)
pure virtual

◆ aes_encrypt()

virtual ByteVector logicalaccess::IAESCryptoService::aes_encrypt ( const ByteVector data,
const ByteVector iv,
std::shared_ptr< Key key 
)
pure virtual

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