TOMASuplBasicProtectionParams Class Reference

class TOMASuplBasicProtectionParams
Class for providing the basic protection parameters epos_comasuplasnplugin.lib
Since
S60 S60_5.2
Public Member Functions
IMPORT_C voidGetBasicMac(TDes8 &)
IMPORT_C voidGetKeyIdentifier(TDes8 &)
IMPORT_C TInt32GetReplayCounter()
IMPORT_C voidSetBasicMac(TDes8 &)
IMPORT_C voidSetKeyIdentifier(TDes8 &)
IMPORT_C voidSetReplayCounter(TInt32)
Private Attributes
TBuf8< KBasicProtMacLen >iBasicMAC
TInt32 iBasicReplayCounter
TBuf8< KBasicProtKeyIdLen >iKeyIdentifier

Member Functions Documentation

GetBasicMac(TDes8 &)

IMPORT_C voidGetBasicMac(TDes8 &aBasicMac)
Getter method for basic MAC
Since
S60 S60_5.2

Parameters

TDes8 & aBasicMacvalue of basic MAC is returned in this

GetKeyIdentifier(TDes8 &)

IMPORT_C voidGetKeyIdentifier(TDes8 &aKeyId)
Getter method for key identifier
Since
S60 S60_5.2

Parameters

TDes8 & aKeyIdvalue of key identity is returned in this

GetReplayCounter()

IMPORT_C TInt32GetReplayCounter()
Getter method for replay coungter
Since
S60 S60_5.2

SetBasicMac(TDes8 &)

IMPORT_C voidSetBasicMac(TDes8 &aBasicMac)
Setter method for basic MAC
Since
S60 S60_5.2

Parameters

TDes8 & aBasicMac

SetKeyIdentifier(TDes8 &)

IMPORT_C voidSetKeyIdentifier(TDes8 &aKeyId)
Setter method for key identifier
Since
S60 S60_5.2

Parameters

TDes8 & aKeyIdvalue of key identity to be set

SetReplayCounter(TInt32)

IMPORT_C voidSetReplayCounter(TInt32aCounter)
Setter method for replay counter
Since
S60 S60_5.2

Parameters

TInt32 aCountervalue of key identity to be set

Member Data Documentation

TBuf8< KBasicProtMacLen > iBasicMAC

TBuf8< KBasicProtMacLen >iBasicMAC[private]

TInt32 iBasicReplayCounter

TInt32 iBasicReplayCounter[private]

TBuf8< KBasicProtKeyIdLen > iKeyIdentifier

TBuf8< KBasicProtKeyIdLen >iKeyIdentifier[private]