public interface SignedPreKeyStore
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsSignedPreKey(int signedPreKeyId) |
SignedPreKeyRecord |
loadSignedPreKey(int signedPreKeyId)
Load a local SignedPreKeyRecord.
|
java.util.List<SignedPreKeyRecord> |
loadSignedPreKeys()
Load all local SignedPreKeyRecords.
|
void |
removeSignedPreKey(int signedPreKeyId)
Delete a SignedPreKeyRecord from local storage.
|
void |
storeSignedPreKey(int signedPreKeyId,
SignedPreKeyRecord record)
Store a local SignedPreKeyRecord.
|
SignedPreKeyRecord loadSignedPreKey(int signedPreKeyId) throws InvalidKeyIdException
signedPreKeyId - the ID of the local SignedPreKeyRecord.InvalidKeyIdException - when there is no corresponding SignedPreKeyRecord.java.util.List<SignedPreKeyRecord> loadSignedPreKeys()
void storeSignedPreKey(int signedPreKeyId,
SignedPreKeyRecord record)
signedPreKeyId - the ID of the SignedPreKeyRecord to store.record - the SignedPreKeyRecord.boolean containsSignedPreKey(int signedPreKeyId)
signedPreKeyId - A SignedPreKeyRecord ID.void removeSignedPreKey(int signedPreKeyId)
signedPreKeyId - The ID of the SignedPreKeyRecord to remove.