BIS is encrypted push?

Just a little question because I can't find right now: BIS push is encrypted or do you have to add an additional encryption layer in the payload?

Hi, I've heard talk about Devcon 2010 registered, DEV01-Push or do not push content delivery to the customer.

relationship of speaker/developer 45:28 minutes say the content is not encrypted. If the information is very sensitive, you can implement the own encryption key.

Tags: BlackBerry Developers

Similar Questions

  • Use of id id push and BB10 payload?

    I'm relatively new to push stuff so this may be covered elsewhere. I can't find anything by searching in the forums.

    When you push send, the PAP contains a push-id attribute. This seems to be an arbitrary string that I can specify.

    When you receive a helping hand, the PushPayload has an id() which is a string, also described as "Returns the identifier push.". It seems it can be defined by the system and not related to what whatsoever in the offensive itself and so far seems to have the value "_".

    Is there a relationship between these?

    What is the purpose of the attribute id push?  I do shoot 'open loop' through BIS with the Push of basic service (no further), so my assumption is if I were using more or send Push through BES10 it would be a symbol that is useful to query the status of the push.

    What is the purpose of the id property of PushPayload, and whether it was true that the docs say it returns the identifier of 'push', then what is the identifier to push and there at - it unconnected with the id push above property?

    Thanks for any comments you may have.

    Hi Peter,.

    What you think makes sense however, after receiving a history lesson on the whole situation, I found that it is essentially a bug. Really the push-id value must get past and power be read from the field PushPayload #id however the Push server don't currently even past this value down to the client. The push-id is useful today if you push through a BES or push more to query the status of a sudden thumb or cancelling a helping hand.

    The field read you of PushPayload #id is actually automatically generated on the client if no ID push is received, which explains why he has no resemblance with... something useful.

    There is a solution! You can add this header to the payload section to push your server 'Push-Message-ID' Push, giving your payload with a structure like:

    -asdfglkjhqwert
    Content-Type: text/plain
    Push-Message-ID:


    -asdfglkjhqwert-

    I tried this out and it works well, gives the expected client-side value.

  • onNotification not called (SDK to push at low altitude)

    Finally my notification of base URL has been saved

    Thanks to [email protected]

    no more error that the base url is not available if the ppgNotifiedRequestedTo parameter

    My basic notification url: http://my-server.org:nnnn /

    My ppgNotifiedRequestedTo: /pushnotify

    I extended PapServiceImpl and implemented onNotification:

    public class PapNotificationService extends PapServiceImpl {
    
        @Override
        public void onNotification(ResultNotification resultNotification,
                Map notificationParameters)
                throws PushSDKException {
            logger.debug("On Notification ###################");
        }
    }
    

    I extended BasicNotificationServlet and implemented the getPapService simply return a new PapNotificationService (see above):

    public class PushNotificationServlet extends BasicNotificationServlet {
    
        /* (non-Javadoc)
         * @see net.rim.pushsdk.pap.web.BasicNotificationServlet#getPapService()
         */
        @Override
        protected PapService getPapService() {
            return new PapNotificationService();
        }
    
        @Override
        public void doPost(HttpServletRequest req, HttpServletResponse resp)
                throws ServletException, IOException {
            logger.debug("doPost called");
            super.doPost(req, resp);
        }
    
    }
    

    I tested this Servlet of the browser:

    http://my-server.org:nnnn / pushnotify

    and as expected make me:

    16:40:38.208 DEBUG [o.e.b.p.b.i.PushNotificationServlet] doPost called
    16:40:38.224 INFO  [net.rim.pushsdk.pap.PapServiceImpl] PushSDKException caught while receiving result notification:
    net.rim.pushsdk.commons.PushSDKException: No XML content to parse; document is empty
    

    If the servlet is working

    but its never called so by pushing. shoot is done properly with QualityOfService DeliveryMethod CONFIRMED and ppgNotifiedRequestedTo has the value

    PapService papService = new PapServiceImpl();
    papService.setHttpClient(client);
    papService.setPushSDKProperties(pushProperties);
    .....
    pushMessageControl = new PushMessageControl(
        idGenerator,
        PUSH_APP_ID,
        PPG_NOTIFY_REQUESTED_TO_URLPART,
        addresses);
    .....
    response = papService.push(
        PUSH_APP_ID, // BIS username
        PUSH_APP_PW, // BIS pw
        PUSH_APP_ID, // BIS port
        pushMessageControl, // PUSH msg attributes
        papContent); // the content
    

    questioning of the State, I get in WAITING and a few seconds later CONFIRMED

    but I don't get any Notification

    no idea what could be the problem?

    THX

    GOD

    BTW: I'll publish my JavaSE whole - solution of low level as Open Source (EPL) for easy start with PushServices without installing springsoftware etc. all running inside the eclipse.

    the problem is now solved

    thx for help - RIM problem was

    ...

    My basic notification url: http://my-server.org:nnnn /

    ...

    where I am listed as notification to the RIM base url:

    http://my-server.org:8081 /.

    Important notice to evaluate all Push Service Plus: only Ports 80 and 443 are allowed as base URL of notification .

    otherwise the notification messages find a way out of RIM Push Server

    According to RIM documentation is added for this

  • PD_subReg command is not currently in service.

    Hello! I do the application of transmission of my application, and in the newspapers, I get this response:

    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.DTD">
    http://www.w3.org/1999/xhtml">
    PushData Service


    Error



    The content you requested is not available



    PD_subReg command is not currently in service.







    I need help with this,

    In addition, I want to ask that I use a non-BIS sim card activated to test the App, is it necessary to use a BIS for Service Push Blackberry enabled sim or is the use of the active non-BIS sim, the reason for the question above?

    I will be grateful for your help,

    Kind regards

    Rubil

    For BlackBerry devices running OS 7.1 or lower, you need BIS to use Push. If you use one of these devices then this is probably the question.

  • The free push service. Push essentials can also push the message via BIS

    I get the news which says RIM has published a free push api for Developer: push the essential elements.

    I hope to get that the developer can use this message push via BIS or can only use BES?

    When I fill the register form, I find there are a lot of questions such as:

    Source for shoot - this issue IP address ask my server IP?

    Just use your external IP address. The best way to find this is http://www.whatismyip.com

  • Push to BIS and BES

    Hi all

    I have developed an application using the Blackberry push service growing public listening.  This works surprisingly well on the regular devices.  However, when I tried the same application on a device that is registered to a company BES, she does not receive push messages in my application.

    Is there something I need to do to activate a device on a BES to listen to these messages?

    Any help would be greatly appreciated.

    See you soon,.

    G.

    It works very well if this device a BIS BES service books. If it's a single BES device then you need create a second version of your application specifically for these devices of BES.

  • Push on BES run but not on BIS.

    Hello

    I have develop a widget to push, test it with a sample MDS push provide with a PAP performance message well.

    Then, I check in to the BlackBerry Push Essentials service for push BIS.

    I try the same app with push on BIS after the SDK, I also use a PHP code to send my push message.

    Got a response from the gateway push:

    Response CODE: 1001
    Response / / DESC: the request has been accepted for processing.

    But the device never receive push them.

    Y at - it something wrong in my implementation of the commissary.

    ';
            }
    
            // create a new cURL resource
            $err = false;
            $ch = curl_init();
            $messageid = microtime(true);
    
            $data = '--mPsbVQo0a68eIL3OAxnm'. "\r\n" .
            'Content-Type: application/xml; charset=UTF-8' . "\r\n\r\n" .
            '
            http://www.openmobilealliance.org/tech/DTD/pap_2.1.dtd">
            
            '
            . $addresses .
            '
            
            ' . "\r\n" .
            '--mPsbVQo0a68eIL3OAxnm' . "\r\n" .
            'Content-Type: text/plain' . "\r\n" .
            'Push-Message-ID: ' . $messageid . "\r\n\r\n" .
            stripslashes($message) . "\r\n" .
            '--mPsbVQo0a68eIL3OAxnm--' . "\r\n";
    
            // set URL and other appropriate options
            curl_setopt($ch, CURLOPT_URL, "https://pushapi.eval.blackberry.com/mss/PD_pushRequest");
                curl_setopt($ch, CURLOPT_PORT , 443);
                curl_setopt($ch, CURLOPT_SSLVERSION, 3);
                curl_setopt($ch, CURLOPT_CAINFO, getcwd()."/cacert.pem");
                curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
    
            curl_setopt($ch, CURLOPT_HEADER, false);
            curl_setopt($ch, CURLOPT_USERAGENT, "My BB Push Server/1.0");
            curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
            curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
            curl_setopt($ch, CURLOPT_USERPWD, $appid . ':' . $password);
            curl_setopt($ch, CURLOPT_POST, 1);
            curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    
            $__extra_Headers = array(
                "Content-Type: multipart/related; boundary=mPsbVQo0a68eIL3OAxnm; type=application/xml",
                "Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2",
                "Connection: keep-alive",
                "X-Rim-Push-Dest-Port: ".$appport,
                "X-RIM-PUSH-ID: ".$messageid,
                "X-RIM-Push-Reliability-Mode: APPLICATION"
            );
            curl_setopt($ch, CURLOPT_HTTPHEADER, $__extra_Headers);
    
            // grab URL and pass it to the browser
            $xmldata = curl_exec($ch);
            if($xmldata === false){
                echo 'Erreur Curl : ' . curl_error($ch)."\n";
            }else{
                echo 'L\'opération s\'est terminée sans aucune erreur'."\n";
            }
    
            // close cURL resource, and free up system resources
            curl_close($ch);
    
            //Start parsing response into XML data that we can read and output
            $p = xml_parser_create();
            xml_parse_into_struct($p, $xmldata, $vals);
            $errorcode = xml_get_error_code($p);
            if ($errorcode > 0) {
                echo xml_error_string($errorcode)."\n";
                $err = true;
            }
            xml_parser_free($p);
    
            echo 'Our PUSH-ID: ' . $messageid . "
    \n"; if (!$err && $vals[1]['tag'] == 'PUSH-RESPONSE') { echo 'PUSH-ID: ' . $vals[1]['attributes']['PUSH-ID'] . "
    \n"; echo 'REPLY-TIME: ' . $vals[1]['attributes']['REPLY-TIME'] . "
    \n"; echo 'Response CODE: ' . $vals[2]['attributes']['CODE'] . "
    \n"; echo 'Response DESC: ' . $vals[2]['attributes']['DESC'] . "
    \n"; } else { echo '

    An error has occured

    ' . "\n"; echo 'Error CODE: ' . $vals[1]['attributes']['CODE'] . "
    \n"; echo 'Error DESC: ' . $vals[1]['attributes']['DESC'] . "
    \n"; } } catch (Exception $e) { var_dump($e->getMessage()); } exit(); // --------------------------------------------------------------------------------------------------------------- ?>

    I think I found my mistake.

    In fact, I think that it is not possible to test the record push of the Simulator.
    My tests of the Simulator has failed every time, but on a real device tests succeed every time.

  • Push notification without BIS...

    Dear friends...
    Can I receive a push notification on file .apk (Android application) running on the 10 Blackberry without BIS?

    Best regards.

    Thank you...

    BlackBerry 10 does not use BIS.

  • Register for Blackberry product push server (BIS) unstable - elysee-enable-SAMPLES

    Save product push server (BIS) sometimes return Blackberry application that ID cannot find sample-push-enable-application. I hard the application ID, poort, url content coding. This isn't typo, if someone could give some tip

    Yes, in the documentation:
    http://docs.BlackBerry.com/en/developers/deliverables/25167/index.jsp?name=development+guide+-+black...

  • Push on the wifi notification will detect the BIS or BES

    Hello

    I joined the push RIM services and I have succedded receive the push in my application when BIS or BES is enabled.

    Recently, I discovered that in some application like, WhatsApp, we can receive push notification when the wifi is enabled for the event blackberry sim card is not inserted in this phone (which means that no BIS or BES is enalbed).

    We want this feature to our society.

    Do you know what is the solution to receive the push on the wifi will detect the BIS or BES in the blackberry phone?

    I'm sorry if my English is so bad.

    Push requires BIS or BES. You must ask the developers of the application that you are using for more information on how they establish connections without pushing.

  • Pushing without BIS/BES

    Hi all

    I am a prospective developer Blackberry works on my first BB app.

    The application will receive the data of a service push third push as Xtify or urban airship. If possible, I would like to make it work on Webworks. I am little confused as to how all this works and my research has not really clarified anything, so I have a few questions:

    (1) what are the Blackberry services I send the push? For example, when registering for the app, urban airship and Xtify apparently must push it Essentials package. Do I need anything else? Push services deal with RIM?

    (2) is a specific Blackberry data plan (I guess they are BIS and BES) will perform the push works on 3 G? Besides, is 3G on Blackberry through BIS, or is it independent of it?

    (3) Will accept a Webworks app even pushes a third? Xtify nor urban airship say anything about working with Phonegap or Webworks. Two examples for urban airship and Xtify are for Blackberry Java and seem to require registration with the urban airship or Xtify application. The Webworks API has a method OpenPushListener(); is this all I need to start receiving leads them to my application?

    Comments are welcome - thanks for your help!

    Hello

    Let's start by discussing a little further: at its core is to push a XML load sent to the infrastructure of the RIM which is then sent down to the target BlackBerry smartphone. The transport of the unit is completely managed by the infrastructure of the RIM, so all you need to do is send the push.

    No matter what language/service that can display XML data can send pulses

    In order to receive the push, the device must have a BIS data connection

    WebWorks applications can receive extensive data, the API documentation has information about how this can be done.

    I hope things clears a bit, but if not just let me know.

    See you soon,.

  • Free Push to BIS service

    Dear Sir

    After reading all of the sites mentioned in other posts here, I still wonder if there is a free Push service that can be used to push BIS.

    Web signals are free? Or are the Essentials push free (what status as member of the alliance is necessary - made the adjustments of status recorded for the most part to push)?

    Is the free browser Push (or is it the web signals)?

    It would be great if someone could answer my questions.

    Best regards

    Bullety

    For other users:

    I can't say anything about the web signals.

    But most of the push is free and there is no need to be a member of the alliance, just for this and you will get your credentials.

    This push essentials can be used with a java application on a device and the push may come from a server application written in almost every programming language that allows to send http requests.

  • BIS push registration for lack of client app

    Hi all

    I'm trying to implement the push BIS service in the client application.

    I got the Port number, appId, BPA URL & using that i'm trying to register using the code below

    public boolean registerBpas() {}

    Logger.info ("MyScreen.registerBpas ()");
    /**
    As the suffix of the connection is fixed I just use a Thread to call the code of connection
    *
    **/

    isValue Boolean = false;
           
    try {}
    Logger.info ("-step 1");
    String conparam = getConnParam();
    Logger.info ("---> conparam:" + conparam);
    final String registerUrl = formRegisterRequest (null, BPAS_URL, APP_ID), + conparam / * Conn.getConnectionParameters () * /;
    Logger.info ("\n\n\n msg registerBPAS URL is:" + registerUrl);
    HttpConnection httpConnection = (HttpConnection), Connector.open (registerUrl);
    InputStream is = httpConnection.openInputStream ();
    Response string = new String (IOUtilities.streamToBytes (is));
    Logger.info ("\n\n\n\n\n\n msg RESPOSE CODE:" + response);
    Close (httpConnection, is, null);
    String nextUrl = formRegisterRequest (BPAS_URL, APP_ID response) + conparam / * Conn.getConnectionParameters () * /;
    Logger.info ("\n\n\n\n\n\n msg nextUrl:" + nextUrl);
    HttpConnection nextHttpConnection = (HttpConnection), Connector.open (nextUrl);
    InputStream nextInputStream = nextHttpConnection.openInputStream ();
    response = new String (IOUtilities.streamToBytes (nextInputStream));
    Logger.info ("\n\n\n\n\n\n msg RESPOSE CODE 1:" + response);
    Close (nextHttpConnection, is, null);
    If (REGISTER_SUCCESSFUL.equals (response) |) {USER_ALREADY_SUBSCRIBED. Equals (Response))}
    Logger.info ("saved successfully to push BIS msg");
                            
    Returns true;
    } else {}
    Logger.info ("msg record BPA rejected");
    isValue = false;
    Returns false;
    }
    } catch (final IOException e) {}

    Logger.info ("IOException msg on register()" + e + "" + e.getMessage ());
    isValue = false;
    Returns false;
    }
                    
    Return isValue;
    }

    public static close Sub (conn connection, InputStream is, OutputStream os) {}
    If (OS! = null) {}
    try {}
    OS. Close();
    } catch (IOException e) {}
    }
    }
    If (is! = null) {}
    try {}
    is. Close();
    } catch (IOException e) {}
    }
    }
    If (conn! = null) {}
    try {}
    Conn.Close ();
    } catch (IOException e) {}
    }
    }
    }

    Public Shared Sub errorDialog (final String message)
    {
    UiApplication.getUiApplication () .invokeLater (new Runnable()
    {
    public void run()
    {
    Dialog.Alert (message);
    }
    });
    }

    private static String formRegisterRequest (String bpasUrl, String appId, string token) {}
    StringBuffer sb = new StringBuffer (bpasUrl);
    SB. Append("/MSS/PD_subReg?");
    SB. Append ("ServiceId ="). Append (appid);
    SB. Append("&OSVersion="). Append (DeviceInfo.getSoftwareVersion ());
    SB. Append("&Model="). Append (DeviceInfo.getDeviceName ());
    If (token! = null & token.length () > 0) {}
    SB. Append("&"). Append (Token);
    }
    Return sb.toString ();
    }
        
        
        
    public static String getConnParam() {}
    String connectionParameters = "";
    If (WLANInfo.getWLANState () == WLANInfo.WLAN_STATE_CONNECTED) {}
    Connected to a WiFi access point
    connectionParameters = «;» deviceside = true; interface = wifi. "
    } else {}
    int coverageStatus = CoverageInfo.getCoverageStatus ();
    ServiceRecord record = getWAP2ServiceRecord();
    If (record! = null)
    & (coverageStatus & CoverageInfo.COVERAGE_DIRECT) ==
    CoverageInfo.COVERAGE_DIRECT) {}
    Having network coverage and a book of WAP 2.0 service record
    connectionParameters = «;» deviceside = true; ConnectionUID ="
    + record.getUid ();
    } else if ((coverageStatus & CoverageInfo.COVERAGE_MDS) ==)
    CoverageInfo.COVERAGE_MDS) {}
    Have a book cover and SDM service network
    connectionParameters = «;» deviceside = false;
    } else if ((coverageStatus & CoverageInfo.COVERAGE_DIRECT) ==)
    CoverageInfo.COVERAGE_DIRECT) {}
    Have the network coverage, but no trace of service WAP 2.0 book
    connectionParameters = «;» deviceside = true;
    }

    }
    Return connectionParameters;
    }
    private static {ServiceRecord getWAP2ServiceRecord()
    Full book sb = ServiceBook.getSB ();
    Reviews [] ServiceRecord = sb.getRecords ();
    for (int i = 0; i)< records.length;="" i++)="">
    String cid = records [i] .getCid () .toLowerCase ();
    String uid = records [i] .getUid () .toLowerCase ();

    If (cid.indexOf ("wptcp")! = - 1 &)
    uid.indexOf ("wifi") ==-1 &.
    uid.indexOf ("mms") ==-1) {}
    Returns records [i];
    }
    }
    Returns a null value.
    }

    But I m getting the error below

    Timeout occurred while processing the operation.

    Check the log of the unit below

    INFO: File created successfully
    INFO: MyScreen.registerBpas)
    INFO:-step 1
    NEWS :---> conparam:; deviceside = true; ConnectionUID = WAP2 trans
    INFO:

    registerBPAS MSG URL is: http://pushapi.eval.blackberry.com/mss/PD_subReg?serviceid=2350-7la145e5r36mi1n42M6037M9600e95a1155&... trans
    INFO:

    MSG RESPOSE CODE:

    Timeout occurred while processing the operation.

    INFO:

    MSG nextUrl: http://pushapi.eval.blackberry.com/mss/PD_subReg?serviceid=2350-7la145e5r36mi1n42M6037M9600e95a1155&...

    Timeout occurred while processing the operation.

    ; deviceside = true; ConnectionUID = WAP2 trans
    INFO:

    MSG RESPOSE CODE 1:

    Has received a bad request formed.

    INFO: msg BPA rejected registration
    INFO:-isSub: false

    Hi Simon

    His work... Register register & to work...

    Thank you very much for your answer...

    In fact, in connection suffix, I used [deleted inappropriate content]

    There must be a hyphen (-) between mds & public, its not allow me to type this text because it's in this forum.

    And tested device in...

    This connection suffix is transposition BIS & now I am able to register and de-register my app to push.

    But still, I need to test the receiver push message part, once my server implementation is made.

    Once again thanks a lot...

    Thank you

    Lauriane


  • With the help of Push BIS on BES?

    Hello

    I have a device connected to a BES who use the suffix of connection '; deviceside = false '.

    I can't save it very well to BPA and all work with other devices that use the suffix of connection: "; deviceside = false; ConnectionType = bisconnection' where bisconnection is my ID Bis.

    How can I do to get the BES registering on BPA unit?

    Thank you

    You can't save with BPA if your device is active BES. You are trying to receive Push message is sent by you BES server.

  • How long does take to BIS PUSH

    How long the BIS push to reach the appliance from the server of the content provider?

    Hello

    in MS? Joke. Its really instant.

    Best, bert2002

Maybe you are looking for