Node Manager
abstract class NodeManager<P : Payload>(privateKeyStore: PrivateKeyStore, sessionPublicKeyStore: SessionPublicKeyStore, cryptoOptions: NodeCryptoOptions)
Inheritors
Constructors
Link copied to clipboard
constructor(privateKeyStore: PrivateKeyStore, sessionPublicKeyStore: SessionPublicKeyStore, cryptoOptions: NodeCryptoOptions)
Functions
Link copied to clipboard
Link copied to clipboard
Decrypt and return the payload in the message
.
Link copied to clipboard
suspend fun <P : EncryptedPayload> wrapMessagePayload(payload: P, peerId: String, nodeId: String): ByteArray
Encrypt and serialize the payload
.