@bloock/sdk / EcdsaKeyPair
Class: EcdsaKeyPair
Represents an ecdsa key pair, with private and public key.
Hierarchy
-
↳
EcdsaKeyPair
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new EcdsaKeyPair(publicKey
, privateKey
): EcdsaKeyPair
Constructs a KeyPair object with the specified parameters.
Parameters
Name | Type |
---|---|
publicKey | string |
privateKey | string |
Returns
Inherited from
Defined in
Properties
privateKey
• privateKey: string
Inherited from
Defined in
publicKey
• publicKey: string
Inherited from
Defined in
Methods
fromProto
▸ fromProto(k
): KeyPair
Parameters
Name | Type |
---|---|
k | GenerateLocalKeyResponse |