Class Key
Definition
- Namespace:
- Tizen.Security.SecureRepository
- Assembly:
- Tizen.Security.SecureRepository.dll
Represents a key.
public class Key
- Inheritance
-
objectKey
Constructors
View SourceKey(byte[], KeyType, string)
Initializes an instance of Key class with a binary, key type and a binary password.
Declaration
public 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
View SourceBinary
Gets and sets binary value of a key.
Declaration
public byte[] Binary { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] | Binary value of a key. |
BinaryPassword
Gets and sets password.
Declaration
public string BinaryPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Password used to decrypt binary when it's encrypted (Optional). |
Type
Gets and sets key type.
Declaration
public KeyType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| KeyType | Key type. |