Class Key
Definition
- Namespace:
- Tizen.Security.SecureRepository
- Assembly:
- Tizen.Security.SecureRepository.dll
Represents a key.
C#Copypublic class Key
- Inheritance
-
objectKey
Constructors
View Source
Key(byte[], KeyType, string)
Initializes an instance of Key class with a binary, key type and a binary password.
Declaration
C#Copypublic Key(byte[] binary, KeyType type, string binaryPassword)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | binary | Binary value of a key. |
| KeyType | type | Key type. |
| string | binaryPassword | Password used to decrypt binary when it's encrypted. |
Remarks
The binary may be encrypted with binaryPassword.
Properties
Declaration
C#Copypublic byte[] Binary { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] | Binary value of a key. |
Declaration
C#Copypublic string BinaryPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Password used to decrypt binary when it's encrypted (Optional). |
Declaration
C#Copypublic KeyType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| KeyType | Key type. |