Interface IdentityKeys

Identity key pair (Ed25519 in Me2eM). Long-lived, deterministic from the seed. In X3DH context: IK_A (initiator) / IK_B (recipient).

const identity = await loadIdentityKeys();
const spk = generateSignedPreKey(identity);
interface IdentityKeys {
    privateKey: Uint8Array;
    publicKey: Uint8Array;
}

Properties

privateKey: Uint8Array
publicKey: Uint8Array