fun resolve(nodeKey: NodeKey<*>, keyId: ByteArray): ByteArray?
Resolve a key (for example a pre-shared key) given a key identity.
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