Class Policy

    Definition

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

    A class for a policy for storing key, certificate, and binary data.

    public class Policy
    Inheritance
    object
    Policy

    Constructors

    View Source

    Policy()

    A default constructor of Policy with default policy.

    Declaration
    public Policy()
    Remarks

    The default value for Password is null and the default value for Extractabl is false.

    View Source

    Policy(string, bool)

    A constructor of Key that takes the password and the flag for extractable.

    Declaration
    public Policy(string password, bool extractable)
    Parameters
    Type Name Description
    string password

    Used to encrypt data secure repository.

    bool extractable

    If true, key may be extracted from the secure repository.

    Properties

    View Source

    Extractable

    If true, key may be extracted from the secure repository.

    Declaration
    public bool Extractable { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Password

    Used to encrypt data secure repository. If it is not null, the data (or key, or certificate) is stored encrypted with this password inside secure repository.

    Declaration
    public string Password { get; set; }
    Property Value
    Type Description
    string
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX