Show / Hide Table of Contents

    Class Wallet

    Represents a wallet that stores key value records and provides static methods for managing wallets.

    Inheritance
    System.Object
    Wallet
    Implements
    System.IDisposable
    Namespace: Hyperledger.Indy.WalletApi
    Assembly: Hyperledger.Indy.Sdk.dll
    Syntax
    public sealed class Wallet : Object, IDisposable

    Methods

    CloseAsync()

    Closes the wallet.

    Declaration
    public Task CloseAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    An asynchronous System.Threading.Tasks.Task with no return value that completes when the operation completes.

    CreateWalletAsync(String, String)

    Declaration
    public static Task CreateWalletAsync(string config, string credentials)
    Parameters
    Type Name Description
    System.String config
    System.String credentials
    Returns
    Type Description
    System.Threading.Tasks.Task

    DeleteWalletAsync(String, String)

    Deletes a wallet.

    Declaration
    public static Task DeleteWalletAsync(string config, string credentials)
    Parameters
    Type Name Description
    System.String config
    System.String credentials

    The wallet credentials.

    Returns
    Type Description
    System.Threading.Tasks.Task

    An asynchronous System.Threading.Tasks.Task with no return value that completes when the operation completes.

    Remarks

    Deletes a wallet created earlier using the Hyperledger.Indy.WalletApi.Wallet.CreateWalletAsync(System.String,System.String,System.String,System.String,System.String) by name.

    The credentials parameter is unused in the default wallet at present, however the value can be used by custom wallet implementations; it is up to the custom wallet type implementer to interpret the value.

    Dispose()

    Disposes of resources.

    Declaration
    public void Dispose()

    ExportAsync(String)

    Declaration
    public Task ExportAsync(string exportConfig)
    Parameters
    Type Name Description
    System.String exportConfig
    Returns
    Type Description
    System.Threading.Tasks.Task

    Finalize()

    Finalizes the resource during GC if it hasn't been already.

    Declaration
    protected override void Finalize()

    ImportAsync(String, String, String)

    Declaration
    public static Task ImportAsync(string config, string credentials, string importConfig)
    Parameters
    Type Name Description
    System.String config
    System.String credentials
    System.String importConfig
    Returns
    Type Description
    System.Threading.Tasks.Task

    OpenWalletAsync(String, String)

    Declaration
    public static Task<Wallet> OpenWalletAsync(string config, string credentials)
    Parameters
    Type Name Description
    System.String config
    System.String credentials
    Returns
    Type Description
    System.Threading.Tasks.Task<Wallet>

    Implements

    System.IDisposable
    Back to top Copyright © 2017 The Linux Foundation®