Class Key

    Definition

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

    The class that represents a key.

    public class Key
    Inheritance
    object
    Key

    Constructors

    View Source

    Key(byte[], KeyType, string)

    A constructor of Key that takes the binary, its type, and optional password of binary.

    Declaration
    public Key(byte[] binary, KeyType type, string binaryPassword)
    Parameters
    Type Name Description
    byte[] binary

    The binary value of a key. This binary may be encrypted with binaryPassword.

    KeyType type

    The key's type.

    string binaryPassword

    The password used to decrypt binary when binary is encrypted.

    Properties

    View Source

    Binary

    The binary value of a key.

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

    BinaryPassword

    The password used to decrypt binary when binary is encrypted. It's optional.

    Declaration
    public string BinaryPassword { get; set; }
    Property Value
    Type Description
    string
    View Source

    Type

    The key's type.

    Declaration
    public KeyType Type { get; set; }
    Property Value
    Type Description
    KeyType
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX