C# Класс Unity.Platform.IPhone.IPhoneSecurity

Наследование: Unity.Core.Security.AbstractSecurity
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CanEvaluatePolicy bool
CheckPath bool
CheckPathAccess bool
Decrypt string
Encrypt string
EvaluatePolicy void
HandleLAContextReplyHandler void
SecRecordToKeyPair Unity.Core.Security.KeyPair

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

GetConfigFileBinaryData() публичный Метод

Method overrided, to use NSData to get stream from file resource inside application.
public GetConfigFileBinaryData ( ) : byte[]
Результат byte[]

GetStoredKeyValuePair() публичный Метод

public GetStoredKeyValuePair ( KeyPair keyname ) : void
keyname Unity.Core.Security.KeyPair
Результат void

GetStoredKeyValuePairs() публичный Метод

public GetStoredKeyValuePairs ( KeyPair keynames ) : void
keynames Unity.Core.Security.KeyPair
Результат void

IPhoneSecurity() публичный Метод

public IPhoneSecurity ( ) : System
Результат System

IsDeviceModified() публичный Метод

Checks if the device has been modified
public IsDeviceModified ( ) : bool
Результат bool

RemoveStoredKeyValuePair() публичный Метод

public RemoveStoredKeyValuePair ( string keyname ) : void
keyname string
Результат void

RemoveStoredKeyValuePairs() публичный Метод

public RemoveStoredKeyValuePairs ( string keynames ) : void
keynames string
Результат void

StartLocalAuthenticationWithTouchID() публичный Метод

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.
Результат void

StoreKeyValuePair() публичный Метод

public StoreKeyValuePair ( KeyPair keypair ) : void
keypair Unity.Core.Security.KeyPair
Результат void

StoreKeyValuePairs() публичный Метод

public StoreKeyValuePairs ( KeyPair keypairs ) : void
keypairs Unity.Core.Security.KeyPair
Результат void