mirror of
https://github.com/signalapp/libsignal.git
synced 2026-05-10 09:02:05 +02:00
Move SignalMessage and PreKeySignalMessage to bridge_fn
This commit is contained in:
@@ -133,7 +133,7 @@ public final class Native {
|
||||
public static native byte[] PreKeySignalMessage_GetSignalMessage(long handle);
|
||||
public static native int PreKeySignalMessage_GetSignedPreKeyId(long handle);
|
||||
public static native int PreKeySignalMessage_GetVersion(long handle);
|
||||
public static native long PreKeySignalMessage_New(int messageVersion, int registrationId, int preKeyId, int signedPreKeyId, long baseKeyHandle, long identityKeyHandle, long signalMessageHandle);
|
||||
public static native long PreKeySignalMessage_New(int messageVersion, int registrationId, int preKeyId, int signedPreKeyId, long baseKey, long identityKey, long signalMessage);
|
||||
|
||||
public static native void ProtocolAddress_Destroy(long handle);
|
||||
public static native int ProtocolAddress_DeviceId(long handle);
|
||||
@@ -230,7 +230,7 @@ public final class Native {
|
||||
public static native byte[] SignalMessage_GetSenderRatchetKey(long handle);
|
||||
public static native byte[] SignalMessage_GetSerialized(long handle);
|
||||
public static native long SignalMessage_New(int messageVersion, byte[] macKey, long senderRatchetKey, int counter, int previousCounter, byte[] ciphertext, long senderIdentityKey, long receiverIdentityKey);
|
||||
public static native boolean SignalMessage_VerifyMac(long handle, long senderIdentityKey, long receiverIdentityKey, byte[] macKey);
|
||||
public static native boolean SignalMessage_VerifyMac(long msg, long senderIdentityKey, long receiverIdentityKey, byte[] macKey);
|
||||
|
||||
public static native long SignedPreKeyRecord_Deserialize(byte[] data);
|
||||
public static native void SignedPreKeyRecord_Destroy(long handle);
|
||||
|
||||
Reference in New Issue
Block a user