DefaultSignProvider
Last updated
Last updated
Signature provider default implementation that stores private keys in memory.
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.
public
(string privateKey)
Create provider with single private key.
privateKey
Create provider with list of private keys.
privateKeys
Create provider with dictionary of encoded key pairs.
encodedKeys
Create provider with dictionary of key pair with private key as byte array.
keys
Get available public keys from signature provider.
List of public keys
Sign bytes using the signature provider.
chainId
EOSIO Chain id
requiredKeys
required public keys for signing this bytes
signBytes
signature bytes
abiNames
abi contract names to get abi information from
List of signatures per required keys
Sign bytes using the signature provider.
key
key used for signing
signBytes
signature bytes
abiNames
abi contract names to get abi information from
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[]>()