Community
Participate
Working Groups
Some API in security needs to be exposed for building UI to show certificates. The current requirement should be a TableContentProvider that can show the certificate's subject and exposing the X500PrincipleHelper to parse the a certificate's fields.
I'll also need something like a cross between the X509CertificateViewDialog and ConfirmationDialog for bug 215929. Just need to be able to present the user with a certificate in a similar way to X509CertificateViewDialog and have confirmation buttons like the ConfirmationDialog. The dialog should also be able to use a String to display a message to the user. The current message in ConfirmationDialog is only useful for removing a certificate.
Time is running out with the API freeze next week. Will this make it in?
I think you guys decided that this will be "internal.provisional" non-API with consumers being x-friends?
Is there any update on opening up some ui pieces through x-friends? I want to get my patch depending on this committed early in M7.
Tim, can you post a patch so that I can tie your code together with a reasonable API? Or is the API that we have sufficient, and we just need the x-friends and be done with it?
Created attachment 94423 [details] WIP - Trust Management Here's a patch of my current progress. The TrustCertificateDialog still needs a detailed certificate dialog that I would let the user open up. I think I may be able to get away with just an x-friends with the current API. X509CertificateAttributeLabelProvider might need some tweaking to provide more user-friendly output. I think it just spits out a big scary String. Ideally, it would be good to have a dialog that I could use and displays a certificate and its parents. Displaying just the certificate's provider name for each certificate in the chain should be fine for now.
Created attachment 94611 [details] Adds certificate API to provisional package Also collapses the provisional API to one package for now.
Patch to move into provisional package committed to HEAD. Keeping open as we refine.
The work that this blocks is ongoing into M7.
Resolving as fixed. P2 has added support for signing using this provisional API.