C# Class Xamarin.Forms.Essentials.SecureStorage.iOS.SecureStorage

Component taken from Xlabs.Forms Implements ISecureStorage for iOS using SecKeyChain.
Inheritance: ISecureStorage
Mostra file Open project: xDelivered-Patrick/Xamarin.Forms.Essentials

Public Methods

Method Description
Delete ( string key ) : void

Deletes data.

Retrieve ( string key ) : byte[]

Retrieves stored data.

Store ( string key, byte dataBytes ) : void

Stores data.

Private Methods

Method Description
CheckError ( SecStatusCode resultCode, [ caller = null ) : void
GetKeyRecord ( string key, NSData data = null ) : SecRecord

Method Details

Delete() public method

Deletes data.
public Delete ( string key ) : void
key string Key for the data to be deleted.
return void

Retrieve() public method

Retrieves stored data.
public Retrieve ( string key ) : byte[]
key string Key for the data.
return byte[]

Store() public method

Stores data.
public Store ( string key, byte dataBytes ) : void
key string Key for the data.
dataBytes byte Data bytes to store.
return void