Hi Tharinda,

If you need to do this in carbon runtime, you can use KeyStoreManager class
as follows to get public certificate of the keystore in super and other
tenants.

KeyStoreManager.getInstance(tenantID).getDefaultPublicKey();


Thanks
Godwin

On Thu, Feb 18, 2016 at 10:42 AM, Tharinda Ehelepola <[email protected]>
wrote:

> Hi ,
>
> According to the subject I need to access EMM public key certificate which
> is stored in "wso2carbon.jks". How can I do it?
>
> Regards,
> Tharinda.
> --
>
> *Tharinda Ehelepola*
>
> *Software Engineering Intern*
> LinkedIn <https://lk.linkedin.com/in/tharindadilshan>
> TP :      94711834769
> Email: [email protected]
> Web: tharinda.tk
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
twitter: https://twitter.com/godwinamila
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to