Class Key

    Definition

    Namespace:
    Tizen.Security.SecureRepository
    Assembly:
    Tizen.Security.SecureRepository.dll

    Represents a key.

    public class Key
    Inheritance
    object
    Key

    Constructors

    View Source

    Key(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 Source

    Binary

    Gets and sets binary value of a key.

    Declaration
    public byte[] Binary { get; set; }
    Property Value
    Type Description
    byte[]

    Binary value of a key.

    View Source

    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).

    View Source

    Type

    Gets and sets key type.

    Declaration
    public KeyType Type { get; set; }
    Property Value
    Type Description
    KeyType

    Key type.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX