Свойство | Type | Description | |
---|---|---|---|
SESSION_LOCK | Object |
Méthode | Description | |
---|---|---|
SessionCipher ( AxolotlStore store, libaxolotl.AxolotlAddress remoteAddress ) : libaxolotl.ecc | ||
SessionCipher ( SessionStore sessionStore, PreKeyStore preKeyStore, SignedPreKeyStore signedPreKeyStore, IdentityKeyStore identityKeyStore, libaxolotl.AxolotlAddress remoteAddress ) : libaxolotl.ecc | ||
decrypt ( libaxolotl.protocol.PreKeyWhisperMessage ciphertext ) : byte[] | ||
decrypt ( libaxolotl.protocol.PreKeyWhisperMessage ciphertext, DecryptionCallback callback ) : byte[] | ||
decrypt ( libaxolotl.protocol.WhisperMessage ciphertext ) : byte[] | ||
decrypt ( libaxolotl.protocol.WhisperMessage ciphertext, DecryptionCallback callback ) : byte[] | ||
encrypt ( byte paddedMessage ) : libaxolotl.protocol.CiphertextMessage | ||
getRemoteRegistrationId ( ) : uint | ||
getSessionVersion ( ) : uint |
Méthode | Description | |
---|---|---|
decrypt ( libaxolotl.state.SessionRecord sessionRecord, libaxolotl.protocol.WhisperMessage ciphertext ) : byte[] | ||
decrypt ( libaxolotl.state.SessionState sessionState, libaxolotl.protocol.WhisperMessage ciphertextMessage ) : byte[] | ||
getCiphertext ( uint version, libaxolotl.ratchet.MessageKeys messageKeys, byte plaintext ) : byte[] | ||
getOrCreateChainKey ( libaxolotl.state.SessionState sessionState, ECPublicKey theirEphemeral ) : libaxolotl.ratchet.ChainKey | ||
getOrCreateMessageKeys ( libaxolotl.state.SessionState sessionState, ECPublicKey theirEphemeral, libaxolotl.ratchet.ChainKey chainKey, uint counter ) : libaxolotl.ratchet.MessageKeys | ||
getPlaintext ( uint version, libaxolotl.ratchet.MessageKeys messageKeys, byte cipherText ) : byte[] |
public SessionCipher ( AxolotlStore store, libaxolotl.AxolotlAddress remoteAddress ) : libaxolotl.ecc | ||
store | AxolotlStore | |
remoteAddress | libaxolotl.AxolotlAddress | |
Résultat | libaxolotl.ecc |
public SessionCipher ( SessionStore sessionStore, PreKeyStore preKeyStore, SignedPreKeyStore signedPreKeyStore, IdentityKeyStore identityKeyStore, libaxolotl.AxolotlAddress remoteAddress ) : libaxolotl.ecc | ||
sessionStore | SessionStore | |
preKeyStore | PreKeyStore | |
signedPreKeyStore | SignedPreKeyStore | |
identityKeyStore | IdentityKeyStore | |
remoteAddress | libaxolotl.AxolotlAddress | |
Résultat | libaxolotl.ecc |
public decrypt ( libaxolotl.protocol.PreKeyWhisperMessage ciphertext ) : byte[] | ||
ciphertext | libaxolotl.protocol.PreKeyWhisperMessage | |
Résultat | byte[] |
public decrypt ( libaxolotl.protocol.PreKeyWhisperMessage ciphertext, DecryptionCallback callback ) : byte[] | ||
ciphertext | libaxolotl.protocol.PreKeyWhisperMessage | |
callback | DecryptionCallback | |
Résultat | byte[] |
public decrypt ( libaxolotl.protocol.WhisperMessage ciphertext ) : byte[] | ||
ciphertext | libaxolotl.protocol.WhisperMessage | |
Résultat | byte[] |
public decrypt ( libaxolotl.protocol.WhisperMessage ciphertext, DecryptionCallback callback ) : byte[] | ||
ciphertext | libaxolotl.protocol.WhisperMessage | |
callback | DecryptionCallback | |
Résultat | byte[] |
public encrypt ( byte paddedMessage ) : libaxolotl.protocol.CiphertextMessage | ||
paddedMessage | byte | |
Résultat | libaxolotl.protocol.CiphertextMessage |