How to add JSR implementation to phoneME?

I'm interested in the correct way to extend phoneME package by some particular JSR. For example I would like it to support JSR 27 (cryptography). Where should I start? Are there some JSR implementations for phoneME available somewhere?
Are there any requirements or guidelines as to JSR design? Is there any comprehensive documentation available somewhere?