Class ClientData

    Definition

    Namespace:
    Tizen.Security.WebAuthn
    Assembly:
    Tizen.Security.WebAuthn.dll

    Client data JSON.

    public class ClientData
    Inheritance
    object
    ClientData
    Remarks

    Refer to the following W3C specification about how to encode jsonData. https://www.w3.org/TR/webauthn-3/#collectedclientdata-json-compatible-serialization-of-client-data

    Constructors

    View Source

    ClientData(byte[], HashAlgorithm)

    Initializes a new instance of the ClientData class.

    Declaration
    public ClientData(byte[] jsonData, HashAlgorithm hashAlgo)
    Parameters
    Type Name Description
    byte[] jsonData

    UTF-8 encoded JSON serialization of the client data.

    HashAlgorithm hashAlgo

    Hash algorithm used to hash the jsonData parameter.

    Remarks

    Refer to the following W3C specification about how to encode jsonData. https://www.w3.org/TR/webauthn-3/#collectedclientdata-json-compatible-serialization-of-client-data

    Properties

    View Source

    HashAlgo

    Gets the hash algorithm.

    Declaration
    public HashAlgorithm HashAlgo { get; init; }
    Property Value
    Type Description
    HashAlgorithm

    The hash algorithm used to hash the JsonData property.

    Remarks

    Refer to the following W3C specification about how to encode jsonData. https://www.w3.org/TR/webauthn-3/#collectedclientdata-json-compatible-serialization-of-client-data

    View Source

    JsonData

    Gets the serialized client data json.

    Declaration
    public byte[] JsonData { get; init; }
    Property Value
    Type Description
    byte[]

    A UTF-8 encoded JSON serialization of the client data.

    Remarks

    Refer to the following W3C specification about how to encode jsonData. https://www.w3.org/TR/webauthn-3/#collectedclientdata-json-compatible-serialization-of-client-data

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