diff --git a/Frameworks/Bindings.xcframework/Info.plist b/Frameworks/Bindings.xcframework/Info.plist index 5da456bbdabbf3d610daca4ce17734b523413a53..3c96df61083ca794226526858401b4539235d6ba 100644 --- a/Frameworks/Bindings.xcframework/Info.plist +++ b/Frameworks/Bindings.xcframework/Info.plist @@ -6,30 +6,30 @@ <array> <dict> <key>LibraryIdentifier</key> - <string>ios-arm64</string> + <string>ios-arm64_x86_64-simulator</string> <key>LibraryPath</key> <string>Bindings.framework</string> <key>SupportedArchitectures</key> <array> <string>arm64</string> + <string>x86_64</string> </array> <key>SupportedPlatform</key> <string>ios</string> + <key>SupportedPlatformVariant</key> + <string>simulator</string> </dict> <dict> <key>LibraryIdentifier</key> - <string>ios-arm64_x86_64-simulator</string> + <string>ios-arm64</string> <key>LibraryPath</key> <string>Bindings.framework</string> <key>SupportedArchitectures</key> <array> <string>arm64</string> - <string>x86_64</string> </array> <key>SupportedPlatform</key> <string>ios</string> - <key>SupportedPlatformVariant</key> - <string>simulator</string> </dict> </array> <key>CFBundlePackageType</key> diff --git a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Bindings b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Bindings index 4ca6497fb80ff0c9239b7c6e66972d2f6d78e784..5ad4fd1519d7f85deeac4290041795488cb8e51c 100644 Binary files a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Bindings and b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Bindings differ diff --git a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Headers/Bindings.objc.h b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Headers/Bindings.objc.h index 1917fe709a99af0a7be211a92eb1e8872aadaddf..a4e5347330bc89f9d1dce5eb1cc1a25f92832e92 100644 --- a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Headers/Bindings.objc.h +++ b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Headers/Bindings.objc.h @@ -1434,7 +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2MDY0MmZiNjFlOGYzZDI0OTkwYjhjYjEyZWU0NDhlZWY3OGUxODRjNzI0MmRkMTYxYzc3MzhmMzJiZjI5YTg0MTY5ODk3ODgyNWI0MTExYjRiYzNlMWUxOTg0NTUwOTU5NTgzMzNkNzc2ZDhiMmJlZWVkM2ExYTFhMjIxYTZlMzdlNjY0YTY0YjgzOTgxYzQ2ZmZkZGMxYTQ1ZTNkNTIxMWFhZjhiZmJjMDcyNzY4YzRmNTBkN2Q3ODAzZDJkNGYyNzhkZTgwMTRhNDczMjM2MzFkN2UwNjRkZTgxYzBjNmJmYTQzZWYwZTY5OTg4NjBmMTM5MGI1ZDNmZWFjYWYxNjk2MDE1Y2I3OWMzZjljMmQ5M2Q5NjExMjBjZDBlNWYxMmNiYjY4N2VhYjA0NTI0MWY5Njc4OWMzOGU4OWQ3OTYxMzhlNjMxOWJlNjJlMzVkODdiMTA0OGNhMjhiZTM4OWI1NzVlOTk0ZGNhNzU1NDcxNTg0YTA5ZWM3MjM3NDJkYzM1ODczODQ3YWVmNDlmNjZlNDM4NzMifQ==" +} */ @interface BindingsReceptionIdentity : NSObject <goSeqRefInterface> { } @@ -1446,6 +1447,7 @@ JSON example: @property (nonatomic) NSData* _Nullable rsaPrivatePem; @property (nonatomic) NSData* _Nullable salt; @property (nonatomic) NSData* _Nullable dhKeyPrivate; +@property (nonatomic) NSData* _Nullable e2eGrp; @end /** @@ -1963,28 +1965,49 @@ Parameters: FOUNDATION_EXPORT BindingsGroupChat* _Nullable BindingsNewGroupChat(long e2eID, id<BindingsGroupRequest> _Nullable requestFunc, id<BindingsGroupChatProcessor> _Nullable processor, NSError* _Nullable* _Nullable error); /** - * NewOrLoadUd loads an existing Manager from storage or creates a -new one if there is no extant storage information. Parameters need be provided -to specify how to connect to the User Discovery service. These parameters may be used -to contact either the UD server hosted by the xx network team or a custom -third-party operated server. For the former, all the information may be pulled from the -NDF using the bindings. + * NewOrLoadUd loads an existing UserDiscovery from storage or creates a new +UserDiscovery if there is no storage data. Regardless of storage state, +the UserDiscovery object returned will be registered with the +User Discovery service. If the user is not already registered, a call +to register will occur internally. If the user is already registered, +this call will simply load state and return to you a UserDiscovery object. +Some parameters are required for registering with the service, but are not required +if the user is already registered. These will be noted in the parameters section as +"SEMI-REQUIRED". + +Certain parameters are required every call to this function. These parameters are listed below +as "REQUIRED". For example, parameters need be provided to specify how to connect to the +User Discovery service. These parameters may be used to contact either the UD server hosted +by the xx network team or a custom third-party operated server. For the former, +all the information may be fetched from the NDF using the bindings. These fetch +methods are detailed in the parameters section. Params - - e2eID - e2e object ID in the tracker - - follower - network follower func wrapped in UdNetworkStatus - - username - the username the user wants to register with UD. - If the user is already registered, this field may be blank - - networkValidationSig is a signature provided by the network (i.e. the client registrar). - This may be nil, however UD may return an error in some cases (e.g. in a production level - environment). - - cert is the TLS certificate for the UD server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdCertFromNdf. - - contactFile is the data within a marshalled contact.Contact. This represents the + - e2eID - REQUIRED. The tracked e2e object ID. This is returned by [E2e.GetID]. + - follower - REQUIRED. Network follower function. This will check if the network + follower is running. + - username - SEMI-REQUIRED. The username the user wants to register with UD. + If the user is already registered, this field may be blank. If the user is not + already registered, these field must be populated with a username that meets the + requirements of the UD service. For example, in the xx network's UD service, + the username must not be registered by another user. + - networkValidationSig - SEMI-REQUIRED. A signature provided by the xx network + (i.e. the client registrar). If the user is not already registered, this field is required + in order to register with the xx network. This may be nil if the user is already registered + or connecting to a third-party UD service unassociated with the xx network. + - cert - REQUIRED. The TLS certificate for the UD server this call will connect with. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. + You may use the UD server run by the xx network team by using [E2e.GetUdCertFromNdf]. + - contactFile - REQUIRED. The data within a marshalled [contact.Contact]. This represents the contact file of the server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdContactFromNdf. - - address is the IP address of the UD server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdAddressFromNdf. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. + You may use the UD server run by the xx network team by using [E2e.GetUdContactFromNdf]. + - address - REQUIRED. The IP address of the UD server this call will connect with. + You may use the UD server run by the xx network team by using [E2e.GetUdAddressFromNdf]. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. Returns - A Manager object which is registered to the specified UD service. diff --git a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Bindings b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Bindings index 4ca6497fb80ff0c9239b7c6e66972d2f6d78e784..5ad4fd1519d7f85deeac4290041795488cb8e51c 100644 Binary files a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Bindings and b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Bindings differ diff --git a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Headers/Bindings.objc.h b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Headers/Bindings.objc.h index 1917fe709a99af0a7be211a92eb1e8872aadaddf..a4e5347330bc89f9d1dce5eb1cc1a25f92832e92 100644 --- a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Headers/Bindings.objc.h +++ b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Headers/Bindings.objc.h @@ -1434,7 +1434,8 @@ JSON example: "RSAPrivatePem":"LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBNU15dTdhYjBJOS9UL1BFUUxtd2x3ejZHV3FjMUNYemVIVXhoVEc4bmg1WWRWSXMxCmJ2THpBVjNOMDJxdXN6K2s4TVFEWjBtejMzdkswUmhPczZIY0NUSFdzTEpXRkE5WWpzWWlCRi9qTDd1bmd1ckIKL2tvK1JJSnNrWGFWaEZaazRGdERoRXhTNWY4RnR0Qmk1NmNLZmdJQlVKT3ozZi9qQllTMkxzMlJ6cWV5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TY5OTg4NjBmMTM5MGI1ZDNmZWFjYWYxNjk2MDE1Y2I3OWMzZjljMmQ5M2Q5NjExMjBjZDBlNWYxMmNiYjY4N2VhYjA0NTI0MWY5Njc4OWMzOGU4OWQ3OTYxMzhlNjMxOWJlNjJlMzVkODdiMTA0OGNhMjhiZTM4OWI1NzVlOTk0ZGNhNzU1NDcxNTg0YTA5ZWM3MjM3NDJkYzM1ODczODQ3YWVmNDlmNjZlNDM4NzMifQ==" +} */ @interface BindingsReceptionIdentity : NSObject <goSeqRefInterface> { } @@ -1446,6 +1447,7 @@ JSON example: @property (nonatomic) NSData* _Nullable rsaPrivatePem; @property (nonatomic) NSData* _Nullable salt; @property (nonatomic) NSData* _Nullable dhKeyPrivate; +@property (nonatomic) NSData* _Nullable e2eGrp; @end /** @@ -1963,28 +1965,49 @@ Parameters: FOUNDATION_EXPORT BindingsGroupChat* _Nullable BindingsNewGroupChat(long e2eID, id<BindingsGroupRequest> _Nullable requestFunc, id<BindingsGroupChatProcessor> _Nullable processor, NSError* _Nullable* _Nullable error); /** - * NewOrLoadUd loads an existing Manager from storage or creates a -new one if there is no extant storage information. Parameters need be provided -to specify how to connect to the User Discovery service. These parameters may be used -to contact either the UD server hosted by the xx network team or a custom -third-party operated server. For the former, all the information may be pulled from the -NDF using the bindings. + * NewOrLoadUd loads an existing UserDiscovery from storage or creates a new +UserDiscovery if there is no storage data. Regardless of storage state, +the UserDiscovery object returned will be registered with the +User Discovery service. If the user is not already registered, a call +to register will occur internally. If the user is already registered, +this call will simply load state and return to you a UserDiscovery object. +Some parameters are required for registering with the service, but are not required +if the user is already registered. These will be noted in the parameters section as +"SEMI-REQUIRED". + +Certain parameters are required every call to this function. These parameters are listed below +as "REQUIRED". For example, parameters need be provided to specify how to connect to the +User Discovery service. These parameters may be used to contact either the UD server hosted +by the xx network team or a custom third-party operated server. For the former, +all the information may be fetched from the NDF using the bindings. These fetch +methods are detailed in the parameters section. Params - - e2eID - e2e object ID in the tracker - - follower - network follower func wrapped in UdNetworkStatus - - username - the username the user wants to register with UD. - If the user is already registered, this field may be blank - - networkValidationSig is a signature provided by the network (i.e. the client registrar). - This may be nil, however UD may return an error in some cases (e.g. in a production level - environment). - - cert is the TLS certificate for the UD server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdCertFromNdf. - - contactFile is the data within a marshalled contact.Contact. This represents the + - e2eID - REQUIRED. The tracked e2e object ID. This is returned by [E2e.GetID]. + - follower - REQUIRED. Network follower function. This will check if the network + follower is running. + - username - SEMI-REQUIRED. The username the user wants to register with UD. + If the user is already registered, this field may be blank. If the user is not + already registered, these field must be populated with a username that meets the + requirements of the UD service. For example, in the xx network's UD service, + the username must not be registered by another user. + - networkValidationSig - SEMI-REQUIRED. A signature provided by the xx network + (i.e. the client registrar). If the user is not already registered, this field is required + in order to register with the xx network. This may be nil if the user is already registered + or connecting to a third-party UD service unassociated with the xx network. + - cert - REQUIRED. The TLS certificate for the UD server this call will connect with. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. + You may use the UD server run by the xx network team by using [E2e.GetUdCertFromNdf]. + - contactFile - REQUIRED. The data within a marshalled [contact.Contact]. This represents the contact file of the server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdContactFromNdf. - - address is the IP address of the UD server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdAddressFromNdf. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. + You may use the UD server run by the xx network team by using [E2e.GetUdContactFromNdf]. + - address - REQUIRED. The IP address of the UD server this call will connect with. + You may use the UD server run by the xx network team by using [E2e.GetUdAddressFromNdf]. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. Returns - A Manager object which is registered to the specified UD service. diff --git a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Bindings b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Bindings index 4ca6497fb80ff0c9239b7c6e66972d2f6d78e784..5ad4fd1519d7f85deeac4290041795488cb8e51c 100644 Binary files a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Bindings and b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Bindings differ diff --git a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Headers/Bindings.objc.h b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Headers/Bindings.objc.h index 1917fe709a99af0a7be211a92eb1e8872aadaddf..a4e5347330bc89f9d1dce5eb1cc1a25f92832e92 100644 --- a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Headers/Bindings.objc.h +++ b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Headers/Bindings.objc.h @@ -1434,7 +1434,8 @@ JSON example: "RSAPrivatePem":"LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBNU15dTdhYjBJOS9UL1BFUUxtd2x3ejZHV3FjMUNYemVIVXhoVEc4bmg1WWRWSXMxCmJ2THpBVjNOMDJxdXN6K2s4TVFEWjBtejMzdkswUmhPczZIY0NUSFdzTEpXRkE5WWpzWWlCRi9qTDd1bmd1ckIKL2tvK1JJSnNrWGFWaEZaazRGdERoRXhTNWY4RnR0Qmk1NmNLZmdJQlVKT3ozZi9qQllTMkxzMlJ6cWV5YXM3SApjV2RaME9TclBTT3BiYlViU1FPbS9LWnlweGZHU21yZ2oxRUZuU1dZZ2xGZTdUOTRPbHF5MG14QTV5clVXbHorCk9sK3hHbXpCNUp4WUFSMU9oMFQrQTk4RWMrTUZHNm43L1MraDdzRDgybGRnVnJmbStFTzRCdmFKeTRESGZGMWgKNnp6QnVnY25NUVFGc0dLeDFYWC9COTVMdUpPVjdyeXlDbzZGbHdJREFRQUJBb0lCQVFDaUh6OGNlcDZvQk9RTAphUzBVRitHeU5VMnlVcVRNTWtTWThoUkh1c09CMmFheXoybHZVb3RLUHBPbj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nonatomic) NSData* _Nullable rsaPrivatePem; @property (nonatomic) NSData* _Nullable salt; @property (nonatomic) NSData* _Nullable dhKeyPrivate; +@property (nonatomic) NSData* _Nullable e2eGrp; @end /** @@ -1963,28 +1965,49 @@ Parameters: FOUNDATION_EXPORT BindingsGroupChat* _Nullable BindingsNewGroupChat(long e2eID, id<BindingsGroupRequest> _Nullable requestFunc, id<BindingsGroupChatProcessor> _Nullable processor, NSError* _Nullable* _Nullable error); /** - * NewOrLoadUd loads an existing Manager from storage or creates a -new one if there is no extant storage information. Parameters need be provided -to specify how to connect to the User Discovery service. These parameters may be used -to contact either the UD server hosted by the xx network team or a custom -third-party operated server. For the former, all the information may be pulled from the -NDF using the bindings. + * NewOrLoadUd loads an existing UserDiscovery from storage or creates a new +UserDiscovery if there is no storage data. Regardless of storage state, +the UserDiscovery object returned will be registered with the +User Discovery service. If the user is not already registered, a call +to register will occur internally. If the user is already registered, +this call will simply load state and return to you a UserDiscovery object. +Some parameters are required for registering with the service, but are not required +if the user is already registered. These will be noted in the parameters section as +"SEMI-REQUIRED". + +Certain parameters are required every call to this function. These parameters are listed below +as "REQUIRED". For example, parameters need be provided to specify how to connect to the +User Discovery service. These parameters may be used to contact either the UD server hosted +by the xx network team or a custom third-party operated server. For the former, +all the information may be fetched from the NDF using the bindings. These fetch +methods are detailed in the parameters section. Params - - e2eID - e2e object ID in the tracker - - follower - network follower func wrapped in UdNetworkStatus - - username - the username the user wants to register with UD. - If the user is already registered, this field may be blank - - networkValidationSig is a signature provided by the network (i.e. the client registrar). - This may be nil, however UD may return an error in some cases (e.g. in a production level - environment). - - cert is the TLS certificate for the UD server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdCertFromNdf. - - contactFile is the data within a marshalled contact.Contact. This represents the + - e2eID - REQUIRED. The tracked e2e object ID. This is returned by [E2e.GetID]. + - follower - REQUIRED. Network follower function. This will check if the network + follower is running. + - username - SEMI-REQUIRED. The username the user wants to register with UD. + If the user is already registered, this field may be blank. If the user is not + already registered, these field must be populated with a username that meets the + requirements of the UD service. For example, in the xx network's UD service, + the username must not be registered by another user. + - networkValidationSig - SEMI-REQUIRED. A signature provided by the xx network + (i.e. the client registrar). If the user is not already registered, this field is required + in order to register with the xx network. This may be nil if the user is already registered + or connecting to a third-party UD service unassociated with the xx network. + - cert - REQUIRED. The TLS certificate for the UD server this call will connect with. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. + You may use the UD server run by the xx network team by using [E2e.GetUdCertFromNdf]. + - contactFile - REQUIRED. The data within a marshalled [contact.Contact]. This represents the contact file of the server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdContactFromNdf. - - address is the IP address of the UD server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdAddressFromNdf. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. + You may use the UD server run by the xx network team by using [E2e.GetUdContactFromNdf]. + - address - REQUIRED. The IP address of the UD server this call will connect with. + You may use the UD server run by the xx network team by using [E2e.GetUdAddressFromNdf]. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. Returns - A Manager object which is registered to the specified UD service. diff --git a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Bindings b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Bindings index 52b938e3bc67c524963581c659e82c790562b1d5..28304fadb68f1251bf8c7adf0847fcd7d9074cda 100644 Binary files a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Bindings and b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Bindings differ diff --git a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Headers/Bindings.objc.h b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Headers/Bindings.objc.h index 1917fe709a99af0a7be211a92eb1e8872aadaddf..a4e5347330bc89f9d1dce5eb1cc1a25f92832e92 100644 --- a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Headers/Bindings.objc.h +++ b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Headers/Bindings.objc.h @@ -1434,7 +1434,8 @@ JSON example: "RSAPrivatePem":"LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBNU15dTdhYjBJOS9UL1BFUUxtd2x3ejZHV3FjMUNYemVIVXhoVEc4bmg1WWRWSXMxCmJ2THpBVjNOMDJxdXN6K2s4TVFEWjBtejMzdkswUmhPczZIY0NUSFdzTEpXRkE5WWpzWWlCRi9qTDd1bmd1ckIKL2tvK1JJSnNrWGFWaEZaazRGdERoRXhTNWY4RnR0Qmk1NmNLZmdJQlVKT3ozZi9qQllTMkxzMlJ6cWV5YXM3SApjV2RaME9TclBTT3BiYlViU1FPbS9LWnlweGZHU21yZ2oxRUZuU1dZZ2xGZTdUOTRPbHF5MG14QTV5clVXbHorCk9sK3hHbXpCNUp4WUFSMU9oMFQrQTk4RWMrTUZHNm43L1MraDdzRDgybGRnVnJmbStFTzRCdmFKeTRESGZGMWgKNnp6QnVnY25NUVFGc0dLeDFYWC9COTVMdUpPVjdyeXlDbzZGbHdJREFRQUJBb0lCQVFDaUh6OGNlcDZvQk9RTAphUzBVRitHeU5VMnlVcVRNTWtTWThoUkh1c09CMmFheXoybHZVb3RLUHBPbjZRSWRWVTJrcE4vY2dtY0lSb2x5CkhBMDRUOHJBWVNaRlVqaVlRajkzKzRFREpJYXd2Z0YyVEs1bFoyb3oxVTdreStncU82V0RMR2Z0Q0wvODVQWEIKa210aXhnUXpRV3g1RWcvemtHdm03eURBalQxeDloNytsRjJwNFlBam5kT2xTS0dmQjFZeTR1RXBQd0kwc1lWdgpKQWc0MEFxbllZUmt4emJPbmQxWGNjdEJFN2Z1VDdrWXhoeSs3WXYrUTJwVy9BYmh6NGlHOEY1MW9GMGZwV0czCmlISDhsVXZFTkp2SUZEVHZ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jNTFkYWRkZjQ1M2IwYjI3MTdjMmJjNjY2OWVkNzZiNGJkZDVjOWZmNTU4ZTg4ZjI2ZTU3ODUzMDJiZWRiY2EyM2VhYzVhY2U5MjA5NmVlOGE2MDY0MmZiNjFlOGYzZDI0OTkwYjhjYjEyZWU0NDhlZWY3OGUxODRjNzI0MmRkMTYxYzc3MzhmMzJiZjI5YTg0MTY5ODk3ODgyNWI0MTExYjRiYzNlMWUxOTg0NTUwOTU5NTgzMzNkNzc2ZDhiMmJlZWVkM2ExYTFhMjIxYTZlMzdlNjY0YTY0YjgzOTgxYzQ2ZmZkZGMxYTQ1ZTNkNTIxMWFhZjhiZmJjMDcyNzY4YzRmNTBkN2Q3ODAzZDJkNGYyNzhkZTgwMTRhNDczMjM2MzFkN2UwNjRkZTgxYzBjNmJmYTQzZWYwZTY5OTg4NjBmMTM5MGI1ZDNmZWFjYWYxNjk2MDE1Y2I3OWMzZjljMmQ5M2Q5NjExMjBjZDBlNWYxMmNiYjY4N2VhYjA0NTI0MWY5Njc4OWMzOGU4OWQ3OTYxMzhlNjMxOWJlNjJlMzVkODdiMTA0OGNhMjhiZTM4OWI1NzVlOTk0ZGNhNzU1NDcxNTg0YTA5ZWM3MjM3NDJkYzM1ODczODQ3YWVmNDlmNjZlNDM4NzMifQ==" +} */ @interface BindingsReceptionIdentity : NSObject <goSeqRefInterface> { } @@ -1446,6 +1447,7 @@ JSON example: @property (nonatomic) NSData* _Nullable rsaPrivatePem; @property (nonatomic) NSData* _Nullable salt; @property (nonatomic) NSData* _Nullable dhKeyPrivate; +@property (nonatomic) NSData* _Nullable e2eGrp; @end /** @@ -1963,28 +1965,49 @@ Parameters: FOUNDATION_EXPORT BindingsGroupChat* _Nullable BindingsNewGroupChat(long e2eID, id<BindingsGroupRequest> _Nullable requestFunc, id<BindingsGroupChatProcessor> _Nullable processor, NSError* _Nullable* _Nullable error); /** - * NewOrLoadUd loads an existing Manager from storage or creates a -new one if there is no extant storage information. Parameters need be provided -to specify how to connect to the User Discovery service. These parameters may be used -to contact either the UD server hosted by the xx network team or a custom -third-party operated server. For the former, all the information may be pulled from the -NDF using the bindings. + * NewOrLoadUd loads an existing UserDiscovery from storage or creates a new +UserDiscovery if there is no storage data. Regardless of storage state, +the UserDiscovery object returned will be registered with the +User Discovery service. If the user is not already registered, a call +to register will occur internally. If the user is already registered, +this call will simply load state and return to you a UserDiscovery object. +Some parameters are required for registering with the service, but are not required +if the user is already registered. These will be noted in the parameters section as +"SEMI-REQUIRED". + +Certain parameters are required every call to this function. These parameters are listed below +as "REQUIRED". For example, parameters need be provided to specify how to connect to the +User Discovery service. These parameters may be used to contact either the UD server hosted +by the xx network team or a custom third-party operated server. For the former, +all the information may be fetched from the NDF using the bindings. These fetch +methods are detailed in the parameters section. Params - - e2eID - e2e object ID in the tracker - - follower - network follower func wrapped in UdNetworkStatus - - username - the username the user wants to register with UD. - If the user is already registered, this field may be blank - - networkValidationSig is a signature provided by the network (i.e. the client registrar). - This may be nil, however UD may return an error in some cases (e.g. in a production level - environment). - - cert is the TLS certificate for the UD server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdCertFromNdf. - - contactFile is the data within a marshalled contact.Contact. This represents the + - e2eID - REQUIRED. The tracked e2e object ID. This is returned by [E2e.GetID]. + - follower - REQUIRED. Network follower function. This will check if the network + follower is running. + - username - SEMI-REQUIRED. The username the user wants to register with UD. + If the user is already registered, this field may be blank. If the user is not + already registered, these field must be populated with a username that meets the + requirements of the UD service. For example, in the xx network's UD service, + the username must not be registered by another user. + - networkValidationSig - SEMI-REQUIRED. A signature provided by the xx network + (i.e. the client registrar). If the user is not already registered, this field is required + in order to register with the xx network. This may be nil if the user is already registered + or connecting to a third-party UD service unassociated with the xx network. + - cert - REQUIRED. The TLS certificate for the UD server this call will connect with. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. + You may use the UD server run by the xx network team by using [E2e.GetUdCertFromNdf]. + - contactFile - REQUIRED. The data within a marshalled [contact.Contact]. This represents the contact file of the server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdContactFromNdf. - - address is the IP address of the UD server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdAddressFromNdf. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. + You may use the UD server run by the xx network team by using [E2e.GetUdContactFromNdf]. + - address - REQUIRED. The IP address of the UD server this call will connect with. + You may use the UD server run by the xx network team by using [E2e.GetUdAddressFromNdf]. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. Returns - A Manager object which is registered to the specified UD service. diff --git a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Bindings b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Bindings index 52b938e3bc67c524963581c659e82c790562b1d5..28304fadb68f1251bf8c7adf0847fcd7d9074cda 100644 Binary files a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Bindings and b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Bindings differ diff --git a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Headers/Bindings.objc.h b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Headers/Bindings.objc.h index 1917fe709a99af0a7be211a92eb1e8872aadaddf..a4e5347330bc89f9d1dce5eb1cc1a25f92832e92 100644 --- a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Headers/Bindings.objc.h +++ b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Headers/Bindings.objc.h @@ -1434,7 +1434,8 @@ JSON example: "RSAPrivatePem":"LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBNU15dTdhYjBJOS9UL1BFUUxtd2x3ejZHV3FjMUNYemVIVXhoV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kNzc2ZDhiMmJlZWVkM2ExYTFhMjIxYTZlMzdlNjY0YTY0YjgzOTgxYzQ2ZmZkZGMxYTQ1ZTNkNTIxMWFhZjhiZmJjMDcyNzY4YzRmNTBkN2Q3ODAzZDJkNGYyNzhkZTgwMTRhNDczMjM2MzFkN2UwNjRkZTgxYzBjNmJmYTQzZWYwZTY5OTg4NjBmMTM5MGI1ZDNmZWFjYWYxNjk2MDE1Y2I3OWMzZjljMmQ5M2Q5NjExMjBjZDBlNWYxMmNiYjY4N2VhYjA0NTI0MWY5Njc4OWMzOGU4OWQ3OTYxMzhlNjMxOWJlNjJlMzVkODdiMTA0OGNhMjhiZTM4OWI1NzVlOTk0ZGNhNzU1NDcxNTg0YTA5ZWM3MjM3NDJkYzM1ODczODQ3YWVmNDlmNjZlNDM4NzMifQ==" +} */ @interface BindingsReceptionIdentity : NSObject <goSeqRefInterface> { } @@ -1446,6 +1447,7 @@ JSON example: @property (nonatomic) NSData* _Nullable rsaPrivatePem; @property (nonatomic) NSData* _Nullable salt; @property (nonatomic) NSData* _Nullable dhKeyPrivate; +@property (nonatomic) NSData* _Nullable e2eGrp; @end /** @@ -1963,28 +1965,49 @@ Parameters: FOUNDATION_EXPORT BindingsGroupChat* _Nullable BindingsNewGroupChat(long e2eID, id<BindingsGroupRequest> _Nullable requestFunc, id<BindingsGroupChatProcessor> _Nullable processor, NSError* _Nullable* _Nullable error); /** - * NewOrLoadUd loads an existing Manager from storage or creates a -new one if there is no extant storage information. Parameters need be provided -to specify how to connect to the User Discovery service. These parameters may be used -to contact either the UD server hosted by the xx network team or a custom -third-party operated server. For the former, all the information may be pulled from the -NDF using the bindings. + * NewOrLoadUd loads an existing UserDiscovery from storage or creates a new +UserDiscovery if there is no storage data. Regardless of storage state, +the UserDiscovery object returned will be registered with the +User Discovery service. If the user is not already registered, a call +to register will occur internally. If the user is already registered, +this call will simply load state and return to you a UserDiscovery object. +Some parameters are required for registering with the service, but are not required +if the user is already registered. These will be noted in the parameters section as +"SEMI-REQUIRED". + +Certain parameters are required every call to this function. These parameters are listed below +as "REQUIRED". For example, parameters need be provided to specify how to connect to the +User Discovery service. These parameters may be used to contact either the UD server hosted +by the xx network team or a custom third-party operated server. For the former, +all the information may be fetched from the NDF using the bindings. These fetch +methods are detailed in the parameters section. Params - - e2eID - e2e object ID in the tracker - - follower - network follower func wrapped in UdNetworkStatus - - username - the username the user wants to register with UD. - If the user is already registered, this field may be blank - - networkValidationSig is a signature provided by the network (i.e. the client registrar). - This may be nil, however UD may return an error in some cases (e.g. in a production level - environment). - - cert is the TLS certificate for the UD server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdCertFromNdf. - - contactFile is the data within a marshalled contact.Contact. This represents the + - e2eID - REQUIRED. The tracked e2e object ID. This is returned by [E2e.GetID]. + - follower - REQUIRED. Network follower function. This will check if the network + follower is running. + - username - SEMI-REQUIRED. The username the user wants to register with UD. + If the user is already registered, this field may be blank. If the user is not + already registered, these field must be populated with a username that meets the + requirements of the UD service. For example, in the xx network's UD service, + the username must not be registered by another user. + - networkValidationSig - SEMI-REQUIRED. A signature provided by the xx network + (i.e. the client registrar). If the user is not already registered, this field is required + in order to register with the xx network. This may be nil if the user is already registered + or connecting to a third-party UD service unassociated with the xx network. + - cert - REQUIRED. The TLS certificate for the UD server this call will connect with. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. + You may use the UD server run by the xx network team by using [E2e.GetUdCertFromNdf]. + - contactFile - REQUIRED. The data within a marshalled [contact.Contact]. This represents the contact file of the server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdContactFromNdf. - - address is the IP address of the UD server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdAddressFromNdf. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. + You may use the UD server run by the xx network team by using [E2e.GetUdContactFromNdf]. + - address - REQUIRED. The IP address of the UD server this call will connect with. + You may use the UD server run by the xx network team by using [E2e.GetUdAddressFromNdf]. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. Returns - A Manager object which is registered to the specified UD service. diff --git a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Bindings b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Bindings index 52b938e3bc67c524963581c659e82c790562b1d5..28304fadb68f1251bf8c7adf0847fcd7d9074cda 100644 Binary files a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Bindings and b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Bindings differ diff --git a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Headers/Bindings.objc.h b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Headers/Bindings.objc.h index 1917fe709a99af0a7be211a92eb1e8872aadaddf..a4e5347330bc89f9d1dce5eb1cc1a25f92832e92 100644 --- a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Headers/Bindings.objc.h +++ b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Headers/Bindings.objc.h @@ -1434,7 +1434,8 @@ JSON example: "RSAPrivatePem":"LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBNU15dTdhYjBJOS9UL1BFUUxtd2x3ejZHV3FjMUNYemVIVXhoVEc4bmg1WWRWSXMxCmJ2THpBVjNOMDJxdXN6K2s4TVFEWjBtejMzdkswUmhPczZIY0NUSFdzTEpXRkE5WWpzWWlCRi9qTDd1bmd1ckIKL2tvK1JJSnNrWGFWaEZaazRGdERoRXhTNWY4RnR0Qmk1NmNLZmdJQlVKT3ozZi9qQllTMkxzMlJ6cWV5YXM3SApjV2RaME9TclBTT3BiYlViU1FPbS9LWnlweGZHU21yZ2oxRUZuU1dZZ2x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Q5NjExMjBjZDBlNWYxMmNiYjY4N2VhYjA0NTI0MWY5Njc4OWMzOGU4OWQ3OTYxMzhlNjMxOWJlNjJlMzVkODdiMTA0OGNhMjhiZTM4OWI1NzVlOTk0ZGNhNzU1NDcxNTg0YTA5ZWM3MjM3NDJkYzM1ODczODQ3YWVmNDlmNjZlNDM4NzMifQ==" +} */ @interface BindingsReceptionIdentity : NSObject <goSeqRefInterface> { } @@ -1446,6 +1447,7 @@ JSON example: @property (nonatomic) NSData* _Nullable rsaPrivatePem; @property (nonatomic) NSData* _Nullable salt; @property (nonatomic) NSData* _Nullable dhKeyPrivate; +@property (nonatomic) NSData* _Nullable e2eGrp; @end /** @@ -1963,28 +1965,49 @@ Parameters: FOUNDATION_EXPORT BindingsGroupChat* _Nullable BindingsNewGroupChat(long e2eID, id<BindingsGroupRequest> _Nullable requestFunc, id<BindingsGroupChatProcessor> _Nullable processor, NSError* _Nullable* _Nullable error); /** - * NewOrLoadUd loads an existing Manager from storage or creates a -new one if there is no extant storage information. Parameters need be provided -to specify how to connect to the User Discovery service. These parameters may be used -to contact either the UD server hosted by the xx network team or a custom -third-party operated server. For the former, all the information may be pulled from the -NDF using the bindings. + * NewOrLoadUd loads an existing UserDiscovery from storage or creates a new +UserDiscovery if there is no storage data. Regardless of storage state, +the UserDiscovery object returned will be registered with the +User Discovery service. If the user is not already registered, a call +to register will occur internally. If the user is already registered, +this call will simply load state and return to you a UserDiscovery object. +Some parameters are required for registering with the service, but are not required +if the user is already registered. These will be noted in the parameters section as +"SEMI-REQUIRED". + +Certain parameters are required every call to this function. These parameters are listed below +as "REQUIRED". For example, parameters need be provided to specify how to connect to the +User Discovery service. These parameters may be used to contact either the UD server hosted +by the xx network team or a custom third-party operated server. For the former, +all the information may be fetched from the NDF using the bindings. These fetch +methods are detailed in the parameters section. Params - - e2eID - e2e object ID in the tracker - - follower - network follower func wrapped in UdNetworkStatus - - username - the username the user wants to register with UD. - If the user is already registered, this field may be blank - - networkValidationSig is a signature provided by the network (i.e. the client registrar). - This may be nil, however UD may return an error in some cases (e.g. in a production level - environment). - - cert is the TLS certificate for the UD server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdCertFromNdf. - - contactFile is the data within a marshalled contact.Contact. This represents the + - e2eID - REQUIRED. The tracked e2e object ID. This is returned by [E2e.GetID]. + - follower - REQUIRED. Network follower function. This will check if the network + follower is running. + - username - SEMI-REQUIRED. The username the user wants to register with UD. + If the user is already registered, this field may be blank. If the user is not + already registered, these field must be populated with a username that meets the + requirements of the UD service. For example, in the xx network's UD service, + the username must not be registered by another user. + - networkValidationSig - SEMI-REQUIRED. A signature provided by the xx network + (i.e. the client registrar). If the user is not already registered, this field is required + in order to register with the xx network. This may be nil if the user is already registered + or connecting to a third-party UD service unassociated with the xx network. + - cert - REQUIRED. The TLS certificate for the UD server this call will connect with. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. + You may use the UD server run by the xx network team by using [E2e.GetUdCertFromNdf]. + - contactFile - REQUIRED. The data within a marshalled [contact.Contact]. This represents the contact file of the server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdContactFromNdf. - - address is the IP address of the UD server this call will connect with. - You may use the UD server run by the xx network team by using E2e.GetUdAddressFromNdf. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. + You may use the UD server run by the xx network team by using [E2e.GetUdContactFromNdf]. + - address - REQUIRED. The IP address of the UD server this call will connect with. + You may use the UD server run by the xx network team by using [E2e.GetUdAddressFromNdf]. + If this is nil, you may not contact the UD server hosted by the xx network. + Third-party services may vary. Returns - A Manager object which is registered to the specified UD service.