GoldenGateBindings / com.fitbit.goldengate.bindings.dtls / TlsKeyResolver

TlsKeyResolver

abstract class TlsKeyResolver

Constructors

<init>

TlsKeyResolver()

Functions

resolve

fun resolve(nodeKey: NodeKey<*>, keyId: ByteArray): ByteArray?

Resolve a key (for example a pre-shared key) given a key identity.

resolveKey

abstract fun resolveKey(nodeKey: NodeKey<*>, keyId: ByteArray): ByteArray?

Resolve a key (for example a pre-shared key) given a key identity.

Inheritors

InMemoryModeTlsKeyResolver

class InMemoryModeTlsKeyResolver : TlsKeyResolver

Creates a Tls key resolver with given key id and key data, mainly for test mode