C D E G I M N O P R S T U V 
All Classes All Packages

C

close() - Method in class com.wire.cryptobox.CryptoBox
Close the CryptoBox.
closeAllSessions() - Method in class com.wire.cryptobox.CryptoBox
Close all open sessions.
closeSession(CryptoSession) - Method in class com.wire.cryptobox.CryptoBox
Close a session.
code - Variable in exception com.wire.cryptobox.CryptoException
 
com.wire.cryptobox - package com.wire.cryptobox
 
COMPLETE - com.wire.cryptobox.CryptoBox.IdentityMode
 
copyIdentity() - Method in class com.wire.cryptobox.CryptoBox
Copy the long-term identity from this CryptoBox.
CryptoBox - Class in com.wire.cryptobox
A CryptoBox is an opaque container of all the necessary key material needed for exchanging end-to-end encrypted messages with peers for a single, logical client or device.
CryptoBox.IdentityMode - Enum in com.wire.cryptobox
CryptoException - Exception in com.wire.cryptobox
 
CryptoException(CryptoException.Code) - Constructor for exception com.wire.cryptobox.CryptoException
 
CryptoException.Code - Enum in com.wire.cryptobox
 
CryptoSession - Class in com.wire.cryptobox
A CryptoSession represents a cryptographic session with a peer (e.g.

D

data - Variable in class com.wire.cryptobox.PreKey
 
DECODE_ERROR - com.wire.cryptobox.CryptoException.Code
A message or key could not be decoded.
decrypt(byte[]) - Method in class com.wire.cryptobox.CryptoSession
Decrypt a byte array containing ciphertext.
DEGENERATED_KEY - com.wire.cryptobox.CryptoException.Code
Unsafe key material was detected during initialisation of a session, encryption or decryption.
deleteSession(String) - Method in class com.wire.cryptobox.CryptoBox
Delete a session.
DUPLICATE_MESSAGE - com.wire.cryptobox.CryptoException.Code
A message is a duplicate.

E

encrypt(byte[]) - Method in class com.wire.cryptobox.CryptoSession
Encrypt a byte array containing plaintext.

G

getFingerprintFromPrekey(PreKey) - Static method in class com.wire.cryptobox.CryptoBox
Get the public key fingerprint from a prekey.
getLocalFingerprint() - Method in class com.wire.cryptobox.CryptoBox
Get the local fingerprint as a hex-encoded byte array.
getMessage() - Method in class com.wire.cryptobox.SessionMessage
 
getRemoteFingerprint() - Method in class com.wire.cryptobox.CryptoSession
Get the remote fingerprint as a hex-encoded byte array.
getSession() - Method in class com.wire.cryptobox.SessionMessage
 
getSession(String) - Method in class com.wire.cryptobox.CryptoBox
Get an existing session by ID.

I

id - Variable in class com.wire.cryptobox.CryptoSession
 
id - Variable in class com.wire.cryptobox.PreKey
 
IDENTITY_ERROR - com.wire.cryptobox.CryptoException.Code
A CBox has been opened with an incomplete or mismatching identity using CryptoBox.openWith(java.lang.String, byte[], com.wire.cryptobox.CryptoBox.IdentityMode).
INIT_ERROR - com.wire.cryptobox.CryptoException.Code
Initialisation of the underlying cryptographic libraries failed.
initSessionFromMessage(String, byte[]) - Method in class com.wire.cryptobox.CryptoBox
Initialise a CryptoSession using a received encrypted message.
initSessionFromPreKey(String, PreKey) - Method in class com.wire.cryptobox.CryptoBox
Initialise a CryptoSession using the prekey of a peer.
INVALID_MESSAGE - com.wire.cryptobox.CryptoException.Code
A message is invalid.
INVALID_SIGNATURE - com.wire.cryptobox.CryptoException.Code
The signature of a decrypted message is invalid.
INVALID_STRING - com.wire.cryptobox.CryptoException.Code
An invalid string argument (e.g.
isClosed() - Method in class com.wire.cryptobox.CryptoBox
 
isClosed() - Method in class com.wire.cryptobox.CryptoSession
 

M

MAX_PREKEY_ID - Static variable in class com.wire.cryptobox.CryptoBox
The max ID of an ephemeral prekey generated by CryptoBox.newPreKeys(int, int).

N

newLastPreKey() - Method in class com.wire.cryptobox.CryptoBox
Generate a new last prekey.
newPreKeys(int, int) - Method in class com.wire.cryptobox.CryptoBox
Generate a new batch of ephemeral prekeys.

O

open(String) - Static method in class com.wire.cryptobox.CryptoBox
Open a CryptoBox that operates on the given directory.
openWith(String, byte[], CryptoBox.IdentityMode) - Static method in class com.wire.cryptobox.CryptoBox
Open a CryptoBox that operates on the given directory, using an existing external identity.
OUTDATED_MESSAGE - com.wire.cryptobox.CryptoException.Code
A message is too old.

P

PANIC - com.wire.cryptobox.CryptoException.Code
A panic occurred.
PreKey - Class in com.wire.cryptobox
A PreKey contains all the necessary public key material for a remote peer to initiate a session with the owner of the prekey.
PreKey(int, byte[]) - Constructor for class com.wire.cryptobox.PreKey
 
PREKEY_NOT_FOUND - com.wire.cryptobox.CryptoException.Code
An attempt was made to initialise a new session using CryptoBox.initSessionFromMessage(java.lang.String, byte[]) whereby the prekey corresponding to the prekey ID in the message could not be found.
PUBLIC - com.wire.cryptobox.CryptoBox.IdentityMode
 

R

REMOTE_IDENTITY_CHANGED - com.wire.cryptobox.CryptoException.Code
The remote identity of a session changed.

S

save() - Method in class com.wire.cryptobox.CryptoSession
Save the session, persisting any changes made to the underlying key material as a result of any CryptoSession.encrypt(byte[]) and CryptoSession.decrypt(byte[]) operations since the last save.
SESSION_NOT_FOUND - com.wire.cryptobox.CryptoException.Code
A requested session was not found.
SessionMessage - Class in com.wire.cryptobox
 
STORAGE_ERROR - com.wire.cryptobox.CryptoException.Code
An internal storage error occurred.

T

TOO_DISTANT_FUTURE - com.wire.cryptobox.CryptoException.Code
A message is too recent.
tryGetSession(String) - Method in class com.wire.cryptobox.CryptoBox
Try to get an existing session by ID.

U

UNKNOWN_ERROR - com.wire.cryptobox.CryptoException.Code
An unspecified error occurred.

V

valueOf(String) - Static method in enum com.wire.cryptobox.CryptoBox.IdentityMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.wire.cryptobox.CryptoException.Code
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.wire.cryptobox.CryptoBox.IdentityMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.wire.cryptobox.CryptoException.Code
Returns an array containing the constants of this enum type, in the order they are declared.
C D E G I M N O P R S T U V 
All Classes All Packages