HsmApi class
Constructors
-
HsmApi.new(Dio _dio, Serializers _serializers)
-
const
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addHsmConfig({BaseAzureAccount? baseAzureAccount, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BaseResponse>>
-
Add HSM config
Adds a new Azure account configuration.
-
addHsmKey({AddKey? addKey, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BaseResponse>>
-
Add HSM key
Adds an existing key configuration.
-
createHsmKey({CreateKey? createKey, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<CreateHsmKey200Response>>
-
Create HSM key
Creates a new key in the Azure KeyVault.
-
listHsm({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<ListHsm200Response>>
-
List HSM configs and wallets
Returns a list of HSM configs and their associated wallets.
-
listHsmWallets({String? keyName, String? keyVersion, String? vaultName, String? baseGroupName, String? clientId, String? publicAddress, int? limit, int? offset, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<ListHsmWallets200Response>>
-
List HSM wallets
Returns a list of HSM wallets.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
removeHsmConfig({required String clientId, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BaseResponse>>
-
Remove HSM config
Removes the specified Azure account configuration and its associated keys.
-
removeHsmKey({required String walletAddress, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BaseResponse>>
-
Remove HSM key
Removes the specified key configuration.
-
setLocalNonce({required ChainName chain, required String walletAddress, SetNonceRequest? setNonceRequest, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BaseResponse>>
-
Set local nonce
Sets the next transaction nonce for the given HSM address that will be used with the nonce management feature.
-
signAndSubmitTransaction({required ChainName chain, BaseTransactionToSign? baseTransactionToSign, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<TransferEth200Response>>
-
Sign and submit transaction
Signs and submits the given transaction using an HSM address.
-
signData({required ChainName chain, HSMSignRequest? hSMSignRequest, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<SignData200Response>>
-
Sign data
Signs the given data using the given HSM address.
-
toString()
→ String
-
A string representation of this object.
inherited