abstract class TlsKeyResolver
TlsKeyResolver() |
fun resolve(nodeKey: NodeKey<*>, keyId: ByteArray): ByteArray?
Resolve a key (for example a pre-shared key) given a key identity. |
|
abstract fun resolveKey(nodeKey: NodeKey<*>, keyId: ByteArray): ByteArray?
Resolve a key (for example a pre-shared key) given a key identity. |
class InMemoryModeTlsKeyResolver : TlsKeyResolver
Creates a Tls key resolver with given key id and key data, mainly for test mode |