ktor-network-tls / io.ktor.network.tls / NoPrivateKeyException

NoPrivateKeyException

class NoPrivateKeyException : IllegalStateException, CopyableThrowable<NoPrivateKeyException>

Throws if failed to find PrivateKey for any alias in KeyStore.

Constructors

<init>

NoPrivateKeyException(alias: String, store: KeyStore)

Throws if failed to find PrivateKey for any alias in KeyStore.

Functions

createCopy

fun createCopy(): NoPrivateKeyException?