GoldenGateBindings / com.fitbit.goldengate.bindings.dtls / InMemoryModeTlsKeyResolver / resolveKey

resolveKey

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

Overrides TlsKeyResolver.resolveKey

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

Parameters

nodeKey - node identifier this stack is attached to

keyId - Identity of the key to resolve.

Return
Resolved key for given key identifier if found, NULL otherwise