Package org.signal.libsignal.net
Class SvrBRestoreResponse
-
- All Implemented Interfaces:
public final class SvrBRestoreResponseThe result of restoring a backup.
This context contains all the necessary components to decrypt a backup using a key derived from both the user's Account Entropy Pool and the SVR-B-protected Forward Secrecy Token.
-
-
Field Summary
Fields Modifier and Type Field Description private final BackupForwardSecrecyTokenforwardSecrecyTokenprivate final ByteArraynextBackupSecretData
-
Constructor Summary
Constructors Constructor Description SvrBRestoreResponse(BackupForwardSecrecyToken forwardSecrecyToken, ByteArray nextBackupSecretData)
-
Method Summary
Modifier and Type Method Description final BackupForwardSecrecyTokengetForwardSecrecyToken()The forward secrecy token used to derive MessageBackupKey instances. final ByteArraygetNextBackupSecretData()Opaque value that must be persisted and provided to the next call to SvrB.store. -
-
Constructor Detail
-
SvrBRestoreResponse
SvrBRestoreResponse(BackupForwardSecrecyToken forwardSecrecyToken, ByteArray nextBackupSecretData)
-
-
Method Detail
-
getForwardSecrecyToken
final BackupForwardSecrecyToken getForwardSecrecyToken()
The forward secrecy token used to derive MessageBackupKey instances.
This token provides forward secrecy guarantees by ensuring that compromise of the backup key alone is insufficient to decrypt backups. Each backup is protected by a value stored on the SVR-B server that must be retrieved during restoration.
-
getNextBackupSecretData
final ByteArray getNextBackupSecretData()
Opaque value that must be persisted and provided to the next call to SvrB.store.
See the SvrB documentation for lifecycle and persistence handling for this value.
-
-
-
-