#include <CipherMac.h>
◆ CipherMac()
Creates a new instance with cipher algorithm determined by parameter and specified MAC key.
- Parameter
-
pSecurityProtocol | will determine the cipher algorithm to use. E.g. a PACE protocol of id_PACE::DH::GM_AES_CBC_CMAC_128 will result in AES to be used for CMAC. |
pKeyBytes | the bytes of the key |
◆ ~CipherMac()
CipherMac::~CipherMac |
( |
| ) |
|
◆ generate()
Generates the MAC of a message.
- Parameter
-
pMessage | the message to build the MAC for. |
- Rückgabe
- the MAC of the message
◆ isInitialized()
bool CipherMac::isInitialized |
( |
| ) |
const |
Returns true, if initialization succeeded, i.e.
the algorithm is known, supported and the key bytes have correct size.
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: