Hi Kasun,
Yes, when you use 1.46, it supports all the versions of android OS(at least
up to 4.0.3, the minimum version we support). But when we were developing
the wizard project, we used the latest version of bouncy castle(1.49),
since 1.46 version has deprecated methods. But the issue is, when we put a
Bks that is generated using the wizard, android devices that uses 1.46
gives a key store version error. Only solution for this is to use spongy
castle in the device, so that it is independent of the bks version. I tried
this and it works on all devices, down side is, spongy castle JAR is about
1.8MB. So the size of the agent will increase, if we solve this issue.

refer- mail in architecture called, "Implement a wizard for EMM
configurations"

Thank you,
Inosh


On Mon, Jun 30, 2014 at 11:31 AM, Kasun Dananjaya Delgolla <[email protected]>
wrote:

> Hi Inosh,
>
> I have used Bouncy Castle 1.46 to generate BKS and it worked for almost
> all the scenarios. Please have a look at the script [1] and they have used
> the above mentioned BC version.
>
> [1] - https://github.com/nelenkov/custom-cert-https
>
> Regards,
>
>
> On Mon, Jun 30, 2014 at 10:05 AM, Inosh Perera <[email protected]> wrote:
>
>> Hi All,
>> When a latest version of bouncy castle is used to generate a bks file,
>> and included it in the agent, it will create a "wrong key store version"
>> issue in some devices. The reason is, the bouncy castle version included in
>> the device(android OS) is older, and it is trying to access a bks created
>> with a newer bouncy castle. Alternatives have to be considered to solve the
>> issue.
>> I will look into spongy castle library and using it inside the agent to
>> avoid bouncy castle version issues.
>>
>> reference JIRA - https://wso2.org/jira/browse/EMM-698
>>
>> --
>> Inosh Perera
>> Software Engineer, WSO2 Inc.
>> Tel: 0785293686
>>
>
>
>
> --
> Kasun Dananjaya Delgolla
>
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
> Tel:  +94 11 214 5345
> Fax: +94 11 2145300
> Mob: + 94 777 997 850
> Blog: http://kddcodingparadise.blogspot.com
> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
> <http://lk.linkedin.com/in/kasundananjaya>*
>



-- 
Inosh Perera
Software Engineer, WSO2 Inc.
Tel: 0785293686
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to