generatePrivateKey abstract method
Generates a new asymmetric key pair and returns the PrivateKey.
Uses the default algorithm (typically RSA) with secure random parameters. The corresponding public key can be accessed via PrivateKey.publicKey.
Returns: New cryptographically secure PrivateKey instance
Implementation
PrivateKey generatePrivateKey();