@bloock/sdk / RsaKeyPair
Class: RsaKeyPair
Represents a rsa key pair, with private and public key.
Hierarchy
-
↳
RsaKeyPair
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new RsaKeyPair(publicKey
, privateKey
): RsaKeyPair
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 |