Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
henryh0gg
Posts: 8
Registered: ‎03-10-2014
My Device: n/a
My Carrier: n/a

Does Blackberry 10 Support Certificate Pinning?

Are there APIs in  Blackberry 10 to do Certificate/SSL Pinning?

Please use plain text.
Developer
peter_strange
Posts: 19,599
Registered: ‎07-14-2008
My Device: Not Specified

Re: Does Blackberry 10 Support Certificate Pinning?

Getting this moved to the correct forum here:

http://supportforums.blackberry.com/t5/Native-Development/bd-p/Cascades

Please use plain text.
New Contributor
henryh0gg
Posts: 8
Registered: ‎03-10-2014
My Device: n/a
My Carrier: n/a

Re: Does Blackberry 10 Support Certificate Pinning?

Are there no java API's for this? I don't want to know about native code for it

Please use plain text.
Developer
simon_hain
Posts: 15,872
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Does Blackberry 10 Support Certificate Pinning?

bb10 does not have any java APIs.
you can convert android apps, that's about it.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
New Contributor
henryh0gg
Posts: 8
Registered: ‎03-10-2014
My Device: n/a
My Carrier: n/a

Re: Does Blackberry 10 Support Certificate Pinning?

Ok thanks, so I would have to roll my own using native code? Or presumably there are some third party libraries for it.

Please use plain text.
Developer
simon_hain
Posts: 15,872
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Does Blackberry 10 Support Certificate Pinning?

if you want to do native development on bb10 you usually use the Qt libraries.
you can check if they have implemented this feature in 4.8.5 (the current qt version on bb10).
otherwise there may be c/c++ libs that do it.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
BlackBerry Development Advisor
erahnenfuehrer
Posts: 85
Registered: ‎05-25-2012
My Device: Limited Edition Z10
My Carrier: Bell

Re: Does Blackberry 10 Support Certificate Pinning?

Check out the documentation on QSslConfiguration::setCaCertificates() and QNetworkReply::setSslConfiguration().

Please use plain text.