프로퍼티 | 타입 | 설명 | |
---|---|---|---|
SESSION_LOCK | Object |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | 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 | |
리턴 | libaxolotl.ecc |
public decrypt ( libaxolotl.protocol.PreKeyWhisperMessage ciphertext ) : byte[] | ||
ciphertext | libaxolotl.protocol.PreKeyWhisperMessage | |
리턴 | byte[] |
public decrypt ( libaxolotl.protocol.PreKeyWhisperMessage ciphertext, DecryptionCallback callback ) : byte[] | ||
ciphertext | libaxolotl.protocol.PreKeyWhisperMessage | |
callback | DecryptionCallback | |
리턴 | byte[] |
public decrypt ( libaxolotl.protocol.WhisperMessage ciphertext ) : byte[] | ||
ciphertext | libaxolotl.protocol.WhisperMessage | |
리턴 | byte[] |
public decrypt ( libaxolotl.protocol.WhisperMessage ciphertext, DecryptionCallback callback ) : byte[] | ||
ciphertext | libaxolotl.protocol.WhisperMessage | |
callback | DecryptionCallback | |
리턴 | byte[] |
public encrypt ( byte paddedMessage ) : libaxolotl.protocol.CiphertextMessage | ||
paddedMessage | byte | |
리턴 | libaxolotl.protocol.CiphertextMessage |