Class Policy
Definition
- Namespace:
- Tizen.Security.SecureRepository
- Assembly:
- Tizen.Security.SecureRepository.dll
Stores policy for key, certificate, and binary data.
public class Policy
- Inheritance
-
objectPolicy
Constructors
View SourcePolicy()
Initializes an instance of Policy class.
Declaration
public Policy()
Remarks
Default value for Password is null and default value for Extractable is false.
Policy(string, bool)
Initializes an instance of Policy class with password and extractable flag.
Declaration
public Policy(string password, bool extractable)
Parameters
Type | Name | Description |
---|---|---|
string | password | Used to encrypt data in secure repository. |
bool | extractable | If true, key may be extracted from the secure repository. |
Properties
View SourceExtractable
Gets and sets Extractable flag.
Declaration
public bool Extractable { get; set; }
Property Value
Type | Description |
---|---|
bool | Extractable flag. If true, key may be extracted from the secure repository. |
Password
Gets and sets password.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
string | Used to encrypt data in secure repository. If it is not null, the data (or key, or certificate) is stored encrypted with this password inside secure repository. |