Verifies a Signed Pre-Key bundle against the identity public key. MUST be called by the initiator BEFORE running X3DH — this is the impersonation defense.
PreKeyBundle whose SPK signature to verify.
Recipient's Ed25519 public key.
'VERIFICATION_FAILED' if invalid.
verifySignedPreKey(bundle, bobIdentityPub);const result = await initiateX3DH(aliceIdentity, bundle); Copy
verifySignedPreKey(bundle, bobIdentityPub);const result = await initiateX3DH(aliceIdentity, bundle);
Verifies a Signed Pre-Key bundle against the identity public key. MUST be called by the initiator BEFORE running X3DH — this is the impersonation defense.