Interface UnwrapKeyParams

interface UnwrapKeyParams {
    wrapped: WrappedKey;
    myIdentity: IdentityKeys;
    mySignedPreKey: SignedPreKey;
    myOneTimePreKey: OneTimePreKey;
    contextSalt: Uint8Array;
    info: string;
}

Properties

wrapped: WrappedKey
myIdentity: IdentityKeys

Recipient's identity key pair.

mySignedPreKey: SignedPreKey

Recipient's SPK (the one matching the bundle the initiator used).

myOneTimePreKey: OneTimePreKey

Recipient's OTK matching usedOneTimePreKeyId — REQUIRED (initiateX3DH enforces OTK; unwrap mirrors it).

contextSalt: Uint8Array
info: string