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