TBTDeviceSecurity Class Reference

class TBTDeviceSecurity

Class to store the security override parameters for a particular remote device.

Constructor & Destructor Documentation

TBTDeviceSecurity()

IMPORT_CTBTDeviceSecurity()

TBTDeviceSecurity(TUint8)

IMPORT_CTBTDeviceSecurity(TUint8aSecurity)

Parameters

TUint8 aSecurity

TBTDeviceSecurity(TUint8, TUint)

IMPORT_CTBTDeviceSecurity(TUint8aSecurity,
TUintaPasskeyMinLength
)

Parameters

TUint8 aSecurity
TUint aPasskeyMinLength

TBTDeviceSecurity(TBool, TBool, TBool, TBool)

IMPORT_CTBTDeviceSecurity(TBoolaNoAuthenticate,
TBoolaNoAuthorise,
TBoolaEncrypt,
TBoolaBanned
)

Parameters

TBool aNoAuthenticate
TBool aNoAuthorise
TBool aEncrypt
TBool aBanned

TBTDeviceSecurity(TMitmRequired, TBool, TBool, TBool)

IMPORT_CTBTDeviceSecurity(TMitmRequiredaMitmRequirements,
TBoolaNoAuthorise,
TBoolaEncrypt,
TBoolaBanned
)

Parameters

TMitmRequired aMitmRequirements
TBool aNoAuthorise
TBool aEncrypt
TBool aBanned

Member Functions Documentation

Banned()

IMPORT_C TBoolBanned()const

Encrypt()

IMPORT_C TBoolEncrypt()const

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Parameters

RReadStream & aStream

MitmRequirements()

IMPORT_C TMitmRequiredMitmRequirements()const

NoAuthenticate()

IMPORT_C TBoolNoAuthenticate()const

NoAuthorise()

IMPORT_C TBoolNoAuthorise()const

PasskeyMinLength()

IMPORT_C TUintPasskeyMinLength()const

SecurityValue()

IMPORT_C TUint8SecurityValue()const

SetBanned(TBool)

IMPORT_C voidSetBanned(TBoolaDecision)

Parameters

TBool aDecision

SetEncrypt(TBool)

IMPORT_C voidSetEncrypt(TBoolaDecision)

Parameters

TBool aDecision

SetMitmRequirements(TMitmRequired)

IMPORT_C voidSetMitmRequirements(TMitmRequiredaDecision)

Parameters

TMitmRequired aDecision

SetNoAuthenticate(TBool)

IMPORT_C voidSetNoAuthenticate(TBoolaDecision)

Parameters

TBool aDecision

SetNoAuthorise(TBool)

IMPORT_C voidSetNoAuthorise(TBoolaDecision)

Parameters

TBool aDecision

SetPasskeyMinLength(TUint)

IMPORT_C TIntSetPasskeyMinLength(TUintaPasskeyMinLength)

Parameters

TUint aPasskeyMinLength

SetSecurityValue(TUint8)

IMPORT_C voidSetSecurityValue(TUint8aDeviceSecurity)

Parameters

TUint8 aDeviceSecurity

operator!=(const TBTDeviceSecurity &)

IMPORT_C TBooloperator!=(const TBTDeviceSecurity &aDeviceSecurity)const

Parameters

const TBTDeviceSecurity & aDeviceSecurity

operator==(const TBTDeviceSecurity &)

IMPORT_C TBooloperator==(const TBTDeviceSecurity &aDeviceSecurity)const

Parameters

const TBTDeviceSecurity & aDeviceSecurity

Member Enumerations Documentation

Enum TBTDeviceSecuritySettings

Enumeration to assist in parsing of security settings.

Enumerators

ENoAuthenticate = 0x01

Don't authenticate the link

ENoAuthorise = 0x02

Don't authorise the connection

EEncrypt = 0x04

Encrypt the link

EBanned = 0x08

Don't connect to the device

EMitmProtectionRequired = 0x10

Require the link is MITM protected

Enum TMitmRequired

Enumeration to provide select MITM protection required.

Enumerators

EMitmUnspecified

No specific MITM protection requirements

EMitmRequired

Require the link is MITM protected

Member Data Documentation

const TUint32 KStreamVersion

const TUint32KStreamVersion[private, static]

TUint32 iPadding1

TUint32 iPadding1[private]

TUint32 iPadding2

TUint32 iPadding2[private]

TUint iPasskeyMinLength

TUint iPasskeyMinLength[private]

TUint8 iSecurity

TUint8 iSecurity[private]