davidepianca98/KMQTT

TLSClientSettings from String instead of file path

edouardouvrard opened this issue · 6 comments

Do you think there will be a possibility to make all file path based settings for TLSClientSettings to have also a String based settings ?
I know it's possible on JVM based platform but i don't know if other platform can take a String argument ?

public data class TLSClientSettings(
    val version: String = "TLS",
    val serverCertificatePath: String? = null,
    val clientCertificatePath: String? = null,
    val clientCertificateKeyPath: String? = null,
    val clientCertificatePassword: String? = null
)

Hello, thanks for proposing this enhancement. I will check if it is possible and if it is I will implement it.

Let me know if i can help.

Added in 5ee298c. I hope to make a new release in the next few days.

Thanks @davidepianca98 for the feature, do you have an eta for the new release ?

Sorry it took this long, I had a few problems. The release 0.4.6 is now available.