|
@@ -1954,7 +1954,7 @@
|
|
|
|
|
|
#pragma mark - End-to-End Encryption
|
|
#pragma mark - End-to-End Encryption
|
|
|
|
|
|
-- (void) getEndToEndPrivateKey:(NSString*)serverPath onCommunication:(OCCommunication *)sharedOCComunication successRequest:(void(^)(NSHTTPURLResponse *response, NSString *redirectedServer)) successRequest failureRequest:(void(^)(NSHTTPURLResponse *response, NSError *error, NSString *redirectedServer)) failureRequest {
|
|
|
|
|
|
+- (void)getEndToEndPrivateKey:(NSString*)serverPath onCommunication:(OCCommunication *)sharedOCComunication successRequest:(void(^)(NSHTTPURLResponse *response, NSString *redirectedServer)) successRequest failureRequest:(void(^)(NSHTTPURLResponse *response, NSError *error, NSString *redirectedServer)) failureRequest {
|
|
|
|
|
|
serverPath = [serverPath stringByAppendingString:k_url_client_side_encryption];
|
|
serverPath = [serverPath stringByAppendingString:k_url_client_side_encryption];
|
|
serverPath = [serverPath stringByAppendingString:@"/private-key"];
|
|
serverPath = [serverPath stringByAppendingString:@"/private-key"];
|