fun generateKey(): Boolean
Generates the managed key if it does not already exist.
GeneralSecurityException - If the key could not be created
GeneralSecurityException
Return true if a new key was generated; false if the key already exists and can be used.
true
false