Skip to content

//kotlin-sdk/fr.gasmartbuilding.gasmartaccessreadersdk/LockReconUtils/loadGenerateAppKeys

loadGenerateAppKeys

[androidJvm]\ fun loadGenerateAppKeys(): KeyPair?

Generates an ECC NIST secp256r1 key pair and securely stores it in the Android KeyStore.

The KeyStore class provided by Android offers a secure way to generate, store and use cryptographic keys. It is critical to store cryptographic keys in a safe place where other apps or users can't get access to them.

Return

KeyPair? public and private key pair