setAlgorithm

fun setAlgorithm(algorithm: Algorithm): ERROR CLASS: Unresolved name: apply

Sets the algorithm for the key.

By default Algorithm.ESP256 is used.

Return

the builder.

Parameters

algorithm

a fully specified algorithm.