class TBTDeviceSecurity |
Class to store the security override parameters for a particular remote device.
Public Member Functions | |
---|---|
TBTDeviceSecurity() | |
TBTDeviceSecurity(TUint8) | |
TBTDeviceSecurity(TUint8, TUint) | |
TBTDeviceSecurity(TBool, TBool, TBool, TBool) | |
TBTDeviceSecurity(TMitmRequired, TBool, TBool, TBool) | |
IMPORT_C TBool | Banned() |
IMPORT_C TBool | Encrypt() |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C void | InternalizeL(RReadStream &) |
IMPORT_C TMitmRequired | MitmRequirements() |
IMPORT_C TBool | NoAuthenticate() |
IMPORT_C TBool | NoAuthorise() |
IMPORT_C TUint | PasskeyMinLength() |
IMPORT_C TUint8 | SecurityValue() |
IMPORT_C void | SetBanned(TBool) |
IMPORT_C void | SetEncrypt(TBool) |
IMPORT_C void | SetMitmRequirements(TMitmRequired) |
IMPORT_C void | SetNoAuthenticate(TBool) |
IMPORT_C void | SetNoAuthorise(TBool) |
IMPORT_C TInt | SetPasskeyMinLength(TUint) |
IMPORT_C void | SetSecurityValue(TUint8) |
IMPORT_C TBool | operator!=(const TBTDeviceSecurity &) |
IMPORT_C TBool | operator==(const TBTDeviceSecurity &) |
Public Member Enumerations | |
---|---|
enum | TBTDeviceSecuritySettings { ENoAuthenticate = 0x01, ENoAuthorise = 0x02, EEncrypt = 0x04, EBanned = 0x08, EMitmProtectionRequired = 0x10 } |
enum | TMitmRequired { EMitmUnspecified, EMitmRequired } |
Private Attributes | |
---|---|
const TUint32 | KStreamVersion |
TUint32 | iPadding1 |
TUint32 | iPadding2 |
TUint | iPasskeyMinLength |
TUint8 | iSecurity |
IMPORT_C | TBTDeviceSecurity | ( | TUint8 | aSecurity, |
TUint | aPasskeyMinLength | |||
) |
IMPORT_C | TBTDeviceSecurity | ( | TBool | aNoAuthenticate, |
TBool | aNoAuthorise, | |||
TBool | aEncrypt, | |||
TBool | aBanned | |||
) |
IMPORT_C | TBTDeviceSecurity | ( | TMitmRequired | aMitmRequirements, |
TBool | aNoAuthorise, | |||
TBool | aEncrypt, | |||
TBool | aBanned | |||
) |
TMitmRequired aMitmRequirements | |
TBool aNoAuthorise | |
TBool aEncrypt | |
TBool aBanned |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
RWriteStream & aStream |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
RReadStream & aStream |
IMPORT_C void | SetMitmRequirements | ( | TMitmRequired | aDecision | ) |
TMitmRequired aDecision |
IMPORT_C TInt | SetPasskeyMinLength | ( | TUint | aPasskeyMinLength | ) |
TUint aPasskeyMinLength |
IMPORT_C void | SetSecurityValue | ( | TUint8 | aDeviceSecurity | ) |
TUint8 aDeviceSecurity |
IMPORT_C TBool | operator!= | ( | const TBTDeviceSecurity & | aDeviceSecurity | ) | const |
const TBTDeviceSecurity & aDeviceSecurity |
IMPORT_C TBool | operator== | ( | const TBTDeviceSecurity & | aDeviceSecurity | ) | const |
const TBTDeviceSecurity & aDeviceSecurity |
Enumeration to assist in parsing of security settings.
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 |
Enumeration to provide select MITM protection required.
EMitmUnspecified |
No specific MITM protection requirements |
EMitmRequired |
Require the link is MITM protected |