Skip to main content

loadKeyPair method

[Future[<[AsymmetricKeyPair[<[PublicKey], [PrivateKey]>]]>]] loadKeyPair(

  1. [[HiveInterface] hive]

)

Loads secret keys from the Hive db.

params:

returns:

  • Future<AsymmetricKeyPair<PublicKey, PrivateKey>>: The public and private key pair

Implementation

Future<AsymmetricKeyPair<PublicKey, PrivateKey>> loadKeyPair(
HiveInterface hive,
) async
  1. talawa
  2. encryptor
  3. Encryptor
  4. loadKeyPair method
Encryptor class