ListenerCertificateAuthenticator

expect constructor(rootCerts: List<ByteArray>)(source)

Create an authenticator that allows clients whose certificate chains can be verified using (only) one of the certs in the passed list. OS-bundled certs are ignored.

Parameters

rootCerts

root certificates used to verify client certificate chains.


expect constructor(delegate: ListenerCertificateAuthenticatorDelegate)(source)

Create an authenticator that delegates all responsibility for authentication and authorization to the passed delegate. See ListenerCertificateAuthenticatorDelegate.

Parameters

delegate

an authenticator

actual constructor(rootCerts: List<ByteArray>)(source)
actual constructor(delegate: ListenerCertificateAuthenticatorDelegate)(source)
actual constructor(rootCerts: List<ByteArray>)(source)
actual constructor(delegate: ListenerCertificateAuthenticatorDelegate)(source)