register
abstract fun <Cipher : DynamicCipher> register(name: String, factory: DynamicCipher.Factory<Cipher>, makeDefault: Boolean = true)(source)
Registers a dynamic cipher under name, created through factory whenever a connection actually derives a key with it.
makeDefault sets it as the default cipher for connections that do not select one explicitly.
Throws
if the name is invalid or registration fails.