Class Key
Definition
- Namespace:
- Tizen.Security.SecureRepository
- Assembly:
- Tizen.Security.SecureRepository.dll
- API Level:
- 3
The class that represents a key.
C#Copypublic class Key
- Inheritance
-
Key
Constructors
View Source
Key(Byte[], KeyType, String)
A constructor of Key that takes the binary, its type, and optional password of binary.
Declaration
C#Copypublic Key(byte[] binary, KeyType type, string binaryPassword)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | binary | The binary value of a key. This binary may be encrypted with binaryPassword. |
KeyType | type | The key's type. |
System.String | binaryPassword | The password used to decrypt binary when binary is encrypted. |
API Level: 3
Properties
Declaration
C#Copypublic byte[] Binary { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
API Level: 3
View Source
BinaryPassword
The password used to decrypt binary when binary is encrypted. It's optional.
Declaration
C#Copypublic string BinaryPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String |
API Level: 3
Declaration
C#Copypublic KeyType Type { get; set; }
Property Value
Type | Description |
---|---|
KeyType |