Package org.eblocker.server.http.backup
Class RegistrationBackupProvider
java.lang.Object
org.eblocker.server.http.backup.BackupProvider
org.eblocker.server.http.backup.RegistrationBackupProvider
-
Field Summary
FieldsFields inherited from class org.eblocker.server.http.backup.BackupProvider
encryptionEnabled -
Constructor Summary
ConstructorsConstructorDescriptionRegistrationBackupProvider(DeviceRegistrationProperties deviceRegistrationProperties, org.eblocker.crypto.CryptoService cryptoService) -
Method Summary
Modifier and TypeMethodDescriptionvoidexportConfiguration(JarOutputStream outputStream) Export the configuration to the given JarOutputStream.voidimportConfiguration(JarInputStream inputStream, int schemaVersion) Import the configuration from the given JarInputStream.voidverifyConfiguration(JarInputStream inputStream, int schemaVersion) Verify the configuration from the given JarInputStream.Methods inherited from class org.eblocker.server.http.backup.BackupProvider
addWarning, canDecrypt, canEncrypt, getNextEntry, getWarnings, writeNextEntry
-
Field Details
-
REGISTRATION_ENTRY
- See Also:
-
-
Constructor Details
-
RegistrationBackupProvider
@Inject public RegistrationBackupProvider(DeviceRegistrationProperties deviceRegistrationProperties, @Nullable org.eblocker.crypto.CryptoService cryptoService)
-
-
Method Details
-
exportConfiguration
Description copied from class:BackupProviderExport the configuration to the given JarOutputStream.- Specified by:
exportConfigurationin classBackupProvider- Throws:
IOException
-
importConfiguration
Description copied from class:BackupProviderImport the configuration from the given JarInputStream.- Specified by:
importConfigurationin classBackupProvider- Throws:
IOException
-
verifyConfiguration
Description copied from class:BackupProviderVerify the configuration from the given JarInputStream.- Specified by:
verifyConfigurationin classBackupProvider- Throws:
IOException
-