You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Could you please share proper documentation or sample app to implement E2EE.
Example :
SessionStore sessionStore = new MySessionStore();
PreKeyStore preKeyStore = new MyPreKeyStore();
SignedPreKeyStore signedPreKeyStore = new MySignedPreKeyStore();
IdentityKeyStore identityStore = new MyIdentityKeyStore();
// Instantiate a SessionBuilder for a remote recipientId + deviceId tuple.
SessionBuilder sessionBuilder = new SessionBuilder(sessionStore, preKeyStore, signedPreKeyStore,
identityStore, recipientId, deviceId);
// Build a session with a PreKey retrieved from the server.
sessionBuilder.process(retrievedPreKey);
MySessionStore , MyPreKeyStore ,MySignedPreKeyStore,MyIdentityKeyStore implementation have various methods. How do we use not able to find anywhere.
SessionBuilder(
sessionStore, preKeyStore, signedPreKeyStore,
identityStore, recipientId, deviceId
)
Here in latest library only 5 params need to pass. That one also not updated and not able to found any documentation also.
SignalProtocolAddress contains deviceId and name. How to create object of SignalProtocolAddress,
sessionBuilder.process(retrievedPreKey)
Here what is retrievedPreKey and could you please share any working sample.
val sessionCipher = SessionCipher(sessionStore, recipientId, deviceId)
In latest lib SessionCipher have only 2 parametrs.
Android project under this project no code files available. If possible please share at-least a sample code files in this project. That can really helpful to start lib-signal-protocol. Sorry for my bad english.
The text was updated successfully, but these errors were encountered:
Could you please share proper documentation or sample app to implement E2EE.
Example :
SessionStore sessionStore = new MySessionStore();
PreKeyStore preKeyStore = new MyPreKeyStore();
SignedPreKeyStore signedPreKeyStore = new MySignedPreKeyStore();
IdentityKeyStore identityStore = new MyIdentityKeyStore();
// Instantiate a SessionBuilder for a remote recipientId + deviceId tuple.
SessionBuilder sessionBuilder = new SessionBuilder(sessionStore, preKeyStore, signedPreKeyStore,
identityStore, recipientId, deviceId);
// Build a session with a PreKey retrieved from the server.
sessionBuilder.process(retrievedPreKey);
SessionCipher sessionCipher = new SessionCipher(sessionStore, recipientId, deviceId);
CiphertextMessage message = sessionCipher.encrypt("Hello world!".getBytes("UTF-8"));
deliver(message.serialize());
In above example
MySessionStore , MyPreKeyStore ,MySignedPreKeyStore,MyIdentityKeyStore implementation have various methods. How do we use not able to find anywhere.
SessionBuilder(
sessionStore, preKeyStore, signedPreKeyStore,
identityStore, recipientId, deviceId
)
Here in latest library only 5 params need to pass. That one also not updated and not able to found any documentation also.
SignalProtocolAddress contains deviceId and name. How to create object of SignalProtocolAddress,
sessionBuilder.process(retrievedPreKey)
Here what is retrievedPreKey and could you please share any working sample.
val sessionCipher = SessionCipher(sessionStore, recipientId, deviceId)
In latest lib SessionCipher have only 2 parametrs.
Android project under this project no code files available. If possible please share at-least a sample code files in this project. That can really helpful to start lib-signal-protocol. Sorry for my bad english.
The text was updated successfully, but these errors were encountered: