AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
governikus::CipherMac Klassenreferenz

#include <CipherMac.h>

Öffentliche Methoden

 CipherMac (const QByteArray &pPaceAlgorithm, const QByteArray &pKeyBytes)
 Creates a new instance with cipher algorithm determined by parameter and specified MAC key. Mehr ...
 
virtual ~CipherMac ()
 
bool isInitialized ()
 Returns true, if initialization succeeded, i.e. Mehr ...
 
QByteArray generate (const QByteArray &pMessage)
 Generates the MAC of a message. Mehr ...
 

Beschreibung der Konstruktoren und Destruktoren

CipherMac::CipherMac ( const QByteArray &  pPaceAlgorithm,
const QByteArray &  pKeyBytes 
)

Creates a new instance with cipher algorithm determined by parameter and specified MAC key.

Parameter
pPaceAlgorithmalgorithm of PACE protocol. This 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.
pKeyBytesthe bytes of the key
CipherMac::~CipherMac ( )
virtual

Dokumentation der Elementfunktionen

QByteArray CipherMac::generate ( const QByteArray &  pMessage)

Generates the MAC of a message.

Parameter
pMessagethe message to build the MAC for.
Rückgabe
the MAC of the message

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

bool CipherMac::isInitialized ( )

Returns true, if initialization succeeded, i.e.

the algorithm is known, supported and the key bytes have correct size.

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: