WAX Unity Web3 Suite
EosSharp
EosSharp
  • Getting Started
  • Installation
  • Examples
    • Configuration
    • Create Transaction
    • CustomSignProvider
    • CombinedSignersProvider
  • API Docs
    • API Read Methods
      • GetInfo
      • GetAccount
      • GetBlock
      • GetTableRows
      • GetTableByScope
    • Eos
    • HttpHandler
    • Core
      • Api.v1
        • Abi
        • AbiAction
        • AbiBinToJsonRequest
        • AbiBinToJsonResponse
        • AbiField
        • AbiJsonToBinRequest
        • AbiJsonToBinResponse
        • AbiRicardianClause
        • AbiStruct
        • AbiTable
        • AbiType
        • Action
        • ActionTrace
        • ActivedProtocolFeatures
        • Authority
        • AuthorityAccount
        • AuthorityKey
        • AuthorityWait
        • BlockHeader
        • CurrencyStat
        • DetailedTransaction
        • EosApi
        • ExtendedAsset
        • Extension
        • GetAbiRequest
        • GetAbiResponse
        • GetAccountRequest
        • GetAccountResponse
        • GetActionsRequest
        • GetActionsResponse
        • GetBlockHeaderStateRequest
        • GetBlockHeaderStateResponse
        • GetBlockRequest
        • GetBlockResponse
        • GetCodeRequest
        • GetCodeResponse
        • GetControlledAccountsRequest
        • GetControlledAccountsResponse
        • GetCurrencyBalanceRequest
        • GetCurrencyBalanceResponse
        • GetCurrencyStatsRequest
        • GetCurrencyStatsResponse
        • GetInfoResponse
        • GetKeyAccountsRequest
        • GetKeyAccountsResponse
        • GetProducerScheduleResponse
        • GetProducersRequest
        • GetProducersResponse
        • GetRawAbiRequest
        • GetRawAbiResponse
        • GetRawCodeAndAbiRequest
        • GetRawCodeAndAbiResponse
        • GetRequiredKeysRequest
        • GetRequiredKeysResponse
        • GetScheduledTransactionsRequest
        • GetScheduledTransactionsResponse
        • GetTableByScopeRequest
        • GetTableByScopeResponse
        • GetTableRowsRequest
        • GetTableRowsResponse
        • GetTransactionRequest
        • GetTransactionResponse
        • GlobalAction
        • Merkle
        • PackedTransaction
        • Permission
        • PermissionLevel
        • ProcessedTransaction
        • Producer
        • PushTransactionRequest
        • PushTransactionResponse
        • Receipt
        • RefundRequest
        • Resource
        • Schedule
        • ScheduleProducers
        • ScheduledTransaction
        • SelfDelegatedBandwidth
        • SignedBlockHeader
        • Symbol
        • TableByScopeResultRow
        • TotalResources
        • Transaction
        • TransactionReceipt
        • Variant
        • VoterInfo
      • DataAttributes
        • AbiFieldTypeAttribute
      • EosBase
      • EosConfigurator
      • Exceptions
        • ApiError
        • ApiErrorDetail
        • ApiErrorException
        • ApiException
      • Helpers
        • CryptoHelper
          • KeyPair
        • SerializationHelper
      • Interfaces
        • IHttpHandler
        • ISignProvider
      • EosSharp
        • AbiSerializationProvider
        • CombinedSignersProvider
        • DefaultSignProvider
        • IAbiSerializationProvider
      • SignedTransaction
Powered by GitBook
On this page
  • Summary
  • Members
Edit on GitHub
  1. API Docs
  2. Core
  3. EosSharp

DefaultSignProvider

PreviousCombinedSignersProviderNextIAbiSerializationProvider

Last updated 2 years ago

class EosSharp::Core::Providers::DefaultSignProvider
  : public ISignProvider

Signature provider default implementation that stores private keys in memory.

Summary

Members
Descriptions

Create provider with single private key.

Create provider with list of private keys.

Create provider with dictionary of encoded key pairs.

Create provider with dictionary of key pair with private key as byte array.

Get available public keys from signature provider.

Sign bytes using the signature provider.

Sign bytes using the signature provider.

Members

public (string privateKey)

Create provider with single private key.

Parameters

  • privateKey

Create provider with list of private keys.

Parameters

  • privateKeys

Create provider with dictionary of encoded key pairs.

Parameters

  • encodedKeys

Create provider with dictionary of key pair with private key as byte array.

Parameters

  • keys

Get available public keys from signature provider.

Returns

List of public keys

Sign bytes using the signature provider.

Parameters

  • chainId EOSIO Chain id

  • requiredKeys required public keys for signing this bytes

  • signBytes signature bytes

  • abiNames abi contract names to get abi information from

Returns

List of signatures per required keys

Sign bytes using the signature provider.

Parameters

  • key key used for signing

  • signBytes signature bytes

  • abiNames abi contract names to get abi information from

Returns

List of signatures per required keys

public (string privateKey)

public ()

public (List< string > privateKeys)

public (Dictionary< string, string > encodedKeys)

public (Dictionary< string, byte[]> keys)

public Task< IEnumerable< string > > ()

public Task< IEnumerable< string > > (string chainId, IEnumerable< string > requiredKeys, byte[] signBytes, IEnumerable< string > abiNames)

public string (string chainId, byte[] signBytes)

public Dictionary< string, string > ()

private readonly byte[] = Encoding.UTF8.GetBytes("K1")

private readonly Dictionary< string, byte[]> = new Dictionary<string, byte[]>()

public ()

public (List< string > privateKeys)

public (Dictionary< string, string > encodedKeys)

public (Dictionary< string, byte[]> keys)

public Task< IEnumerable< string > > ()

public Task< IEnumerable< string > > (string chainId, IEnumerable< string > requiredKeys, byte[] signBytes, IEnumerable< string > abiNames)

public string (string chainId, byte[] signBytes)

public Dictionary< string, string > ()

private readonly byte[] = Encoding.UTF8.GetBytes("K1")

private readonly Dictionary< string, byte[]> = new Dictionary<string, byte[]>()

DefaultSignProvider
DefaultSignProvider
DefaultSignProvider
DefaultSignProvider
DefaultSignProvider
GetAvailableKeys
Sign
Sign
Sign
KeyTypeBytes
Keys
DefaultSignProvider
DefaultSignProvider
DefaultSignProvider
DefaultSignProvider
DefaultSignProvider
GetAvailableKeys
Sign
Sign
Sign
KeyTypeBytes
Keys