Class: EcdsaRSSHAccountContract
ecdsa.EcdsaRSSHAccountContract
Account contract that authenticates transactions using ECDSA signatures verified against a secp256r1 public key stored in an immutable encrypted note. Since this implementation relays signatures to an SSH agent, we provide the public key here not for signature verification, but to identify actual identity that will be used to sign authwitnesses.
Hierarchy
-
↳
EcdsaRSSHAccountContract
Constructors
constructor
• new EcdsaRSSHAccountContract(signingPublicKey
): EcdsaRSSHAccountContract
Parameters
Name | Type |
---|---|
signingPublicKey | Buffer |
Returns
Overrides
DefaultAccountContract.constructor
Properties
signingPublicKey
• Private
signingPublicKey: Buffer
Methods
getAuthWitnessProvider
▸ getAuthWitnessProvider(_address
): AuthWitnessProvider
Parameters
Name | Type |
---|---|
_address | CompleteAddress |
Returns
AuthWitnessProvider
Overrides
DefaultAccountContract.getAuthWitnessProvider
getContractArtifact
▸ getContractArtifact(): ContractArtifact
Returns
ContractArtifact
Inherited from
DefaultAccountContract.getContractArtifact
getDeploymentArgs
▸ getDeploymentArgs(): Buffer
[]
Returns
Buffer
[]
Overrides
DefaultAccountContract.getDeploymentArgs
getInterface
▸ getInterface(address
, nodeInfo
): AccountInterface
Parameters
Name | Type |
---|---|
address | CompleteAddress |
nodeInfo | NodeInfo |
Returns
AccountInterface