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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
IK828
Posts: 132
Registered: ‎11-20-2009
Accepted Solution

HMAC-SHA1

Hello,

 

I have a quick question.

 

My app needs to communicate with a web service which uses HMAC-SHA1. Is there any API which would compute HMAC-SHA1 signatures for me? 

 

Thanks

Please use plain text.
Developer
rcmaniac25
Posts: 1,789
Registered: ‎04-28-2009
My Carrier: Verizon

Re: HMAC-SHA1

Go to the API documentation and click "net.rim.device.api.crypto", go down till you get to tutorials and choose #10. Digests and MACs. They demonstrate HMAC-SHA1 encoding.

------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Developer
IK828
Posts: 132
Registered: ‎11-20-2009

Re: HMAC-SHA1

thank you very much

Please use plain text.
New Developer
New Developer
rzr
Posts: 133
Registered: ‎01-05-2010
My Carrier: www.rzr.online.fr

Re: HMAC-SHA1

[ Edited ]

http://www.blackberry.com/developers/docs/6.0.0api/net/rim/device/api/crypto/doc-files/digest.html

 

wondering if there a wrapper (portable lib) can be used too ?

 

--
http://rzr.online.fr/q/qnx# #RedaK Libre #TextEditor Available on #QnX #bb10 appworld for free and opensource
Please use plain text.
Developer
rcmaniac25
Posts: 1,789
Registered: ‎04-28-2009
My Carrier: Verizon

Re: HMAC-SHA1

I don't really understand your question. Can you explain it in more detail? Maybe it will be better to start a new post.

------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.