Class DataManager

    Definition

    Namespace:
    Tizen.Security.SecureRepository
    Assembly:
    Tizen.Security.SecureRepository.dll

    This class provides the methods for storing and retrieving data.

    public class DataManager : Manager
    Inheritance
    object
    Manager
    DataManager

    Methods

    View Source

    Get(string, string)

    Gets data from the secure repository.

    Declaration
    public static byte[] Get(string alias, string password)
    Parameters
    Type Name Description
    string alias

    The name of a certificate to retrieve.

    string password

    The password used in decrypting a data value. If password of policy is provided in SaveData(), the same password should be provided.

    Returns
    Type Description
    byte[]

    Data specified by alias.

    View Source

    GetAliases()

    Gets all aliases of data, which the client can access.

    Declaration
    public static IEnumerable<string> GetAliases()
    Returns
    Type Description
    IEnumerable<><string>

    All aliases of data, which the client can access.

    View Source

    Save(string, byte[], Policy)

    Stores data inside the secure repository based on the provided policy.

    Declaration
    public static void Save(string alias, byte[] data, Policy policy)
    Parameters
    Type Name Description
    string alias

    The name of data to be stored.

    byte[] data

    The binary value to be stored.

    Policy policy

    The policy about how to store data securely.

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX