Overview

Summary

ContactDonateImprint


Appendix E-21: ENCRYPTION KEY (UI prompt)


EncryptionKeyUserDeviceModuleWhatsApp

Properties (6)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATEEncryptionKey
(2) KeyTypeSTRINGEncryptionKey
(3) PublicKeySTRINGEncryptionKey
(4) RevokedAtDATEEncryptionKey
(5) UserAccountLONGEncryptionKeyUserAccountUserAccountModule
(6) UserDeviceLONGEncryptionKeyUserDeviceUserDeviceModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /encryptionkey/{id}updateEncryptionKeyById(encryptionkey)UserDeviceModulePUTEncryptionKey
(2) /encryptionkey/{id}deleteEncryptionKeyById(id)UserDeviceModuleDELETEEncryptionKey
(3) /encryptionkey/{id}findEncryptionKeyById(id)UserDeviceModuleGETEncryptionKey
(4) /encryptionkey/useraccount/{id}findAllEncryptionKeyOfUserAccount(id)UserDeviceModuleGETUserAccount EncryptionKey
(5) /encryptionkey/userdevice/{id}findAllEncryptionKeyOfUserDevice(id)UserDeviceModuleGETUserDevice EncryptionKey
(6) /encryptionkeyinsertEncryptionKey(encryptionkey)UserDeviceModulePOSTEncryptionKey
(7) /encryptionkeyfindAllEncryptionKey()UserDeviceModuleGETEncryptionKey





Example:

final EncryptionKey encryptionkey = (EncryptionKey) invokeModule(USER_DEVICE_MODULE + "/encryptionkey/" + id, EncryptionKey.class);
if (encryptionkey != null) {
    final UserAccount useraccount1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + encryptionkey.getUserAccount().getId(), UserAccount.class);
    if (useraccount1 != null) {
    }
    final UserDevice userdevice2 = (UserDevice) invokeModule(USER_DEVICE_MODULE + "/userdevice/" + encryptionkey.getUserDevice().getId(), UserDevice.class);
    if (userdevice2 != null) {
        final AppVersion appversion3 = (AppVersion) invokeModule(USER_DEVICE_MODULE + "/appversion/" + userdevice2.getAppVersion().getId(), AppVersion.class);
        if (appversion3 != null) {
            final PlatformSupport platformsupport4 = (PlatformSupport) invokeModule(USER_DEVICE_MODULE + "/platformsupport/" + appversion3.getPlatformSupport().getId(), PlatformSupport.class);
            if (platformsupport4 != null) {
            }
        }
        final UserAccount useraccount5 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + userdevice2.getUserAccount().getId(), UserAccount.class);
        if (useraccount5 != null) {
        }
        final PlatformSupport platformsupport6 = (PlatformSupport) invokeModule(USER_DEVICE_MODULE + "/platformsupport/" + userdevice2.getPlatformSupport().getId(), PlatformSupport.class);
        if (platformsupport6 != null) {
        }
    }
}
return encryptionkey;


Overview

Summary

ContactDonateImprint