generatePrivateKey

open override fun generatePrivateKey(algorithmId: AlgorithmId, options: KeyGenOptions?): String

Generates a private key using specified algorithmId, and stores it in the in-memory keyStore.

Return

The key ID of the generated private key.

Parameters

algorithmId

The algorithmId AlgorithmId.

options

Options for key generation, may include specific parameters relevant to the algorithm.