C# Class Unity.Platform.IPhone.IPhoneSecurity

Inheritance: Unity.Core.Security.AbstractSecurity
Afficher le fichier Open project: Appverse/appverse-mobile Class Usage Examples

Private Properties

Свойство Type Description
CanEvaluatePolicy bool
CheckPath bool
CheckPathAccess bool
Decrypt string
Encrypt string
EvaluatePolicy void
HandleLAContextReplyHandler void
SecRecordToKeyPair Unity.Core.Security.KeyPair

Méthodes publiques

Méthode Description
GetConfigFileBinaryData ( ) : byte[]

Method overrided, to use NSData to get stream from file resource inside application.

GetStoredKeyValuePair ( KeyPair keyname ) : void
GetStoredKeyValuePairs ( KeyPair keynames ) : void
IPhoneSecurity ( ) : System
IsDeviceModified ( ) : bool

Checks if the device has been modified

RemoveStoredKeyValuePair ( string keyname ) : void
RemoveStoredKeyValuePairs ( string keynames ) : void
StartLocalAuthenticationWithTouchID ( string reason ) : void

Starts local authentication operation displaying Touch ID screen.

StoreKeyValuePair ( KeyPair keypair ) : void
StoreKeyValuePairs ( KeyPair keypairs ) : void

Private Methods

Méthode Description
CanEvaluatePolicy ( ) : bool
CheckPath ( string sPath ) : bool

Checks the existence of the specified paths.

CheckPathAccess ( string sPath ) : bool

Checks if we have full access over a directory

Decrypt ( string encryptedText ) : string
Encrypt ( string plainText ) : string
EvaluatePolicy ( string reason ) : void
HandleLAContextReplyHandler ( bool success, NSError error ) : void
SecRecordToKeyPair ( SecRecord entry ) : KeyPair

Method Details

GetConfigFileBinaryData() public méthode

Method overrided, to use NSData to get stream from file resource inside application.
public GetConfigFileBinaryData ( ) : byte[]
Résultat byte[]

GetStoredKeyValuePair() public méthode

public GetStoredKeyValuePair ( KeyPair keyname ) : void
keyname Unity.Core.Security.KeyPair
Résultat void

GetStoredKeyValuePairs() public méthode

public GetStoredKeyValuePairs ( KeyPair keynames ) : void
keynames Unity.Core.Security.KeyPair
Résultat void

IPhoneSecurity() public méthode

public IPhoneSecurity ( ) : System
Résultat System

IsDeviceModified() public méthode

Checks if the device has been modified
public IsDeviceModified ( ) : bool
Résultat bool

RemoveStoredKeyValuePair() public méthode

public RemoveStoredKeyValuePair ( string keyname ) : void
keyname string
Résultat void

RemoveStoredKeyValuePairs() public méthode

public RemoveStoredKeyValuePairs ( string keynames ) : void
keynames string
Résultat void

StartLocalAuthenticationWithTouchID() public méthode

Starts local authentication operation displaying Touch ID screen.
public StartLocalAuthenticationWithTouchID ( string reason ) : void
reason string A reason to explain why authentication is needed. This helps to build trust with the user.
Résultat void

StoreKeyValuePair() public méthode

public StoreKeyValuePair ( KeyPair keypair ) : void
keypair Unity.Core.Security.KeyPair
Résultat void

StoreKeyValuePairs() public méthode

public StoreKeyValuePairs ( KeyPair keypairs ) : void
keypairs Unity.Core.Security.KeyPair
Résultat void