Class Policy
Definition
- Namespace:
- Tizen.Security.SecureRepository
- Assembly:
- Tizen.Security.SecureRepository.dll
- API Level:
- 3
A class for a policy for storing key, certificate, and binary data.
C#Copypublic class Policy
- Inheritance
-
System.ObjectPolicy
Constructors
Declaration
C#Copypublic Policy()
Remarks
The default value for Password is null and the default value for Extractabl is false.
API Level: 3
View Source
Policy(String, Boolean)
A constructor of Key that takes the password and the flag for extractable.
Declaration
C#Copypublic Policy(string password, bool extractable)
Parameters
Type | Name | Description |
---|---|---|
System.String | password | Used to encrypt data secure repository. |
System.Boolean | extractable | If true, key may be extracted from the secure repository. |
API Level: 3
Properties
Declaration
C#Copypublic bool Extractable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
API Level: 3
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
C#Copypublic string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String |