Hi Patrick,
yes that's pretty much it at a high level.  Of course, you want to put 
the .class file under the right path so that it can be found during run 
time.
There is a page that explains and gives example on how to write an 
Authentication plugin. The method should be similar:
pki.fedoraproject.org/wiki/PKI_Authentication_Plug-ins
The original info was written for older RHCS.  I think I might have 
updated it, but I can't be sure.  The website is currently down so I 
can't check.
Christina
On 04/02/2016 05:20 PM, patrick raspante wrote:
 Hello,
 I'm interested in creating a custom profile input class. More 
 specifically, I'd like to be able to specify the validity period in 
 days in the certificate request.
 Are there any generic guides for creating custom input classes?
 I have an idea of what the high level process would be:
 1. Create a new profile input class that extends EnrollInput and 
 implements IProfileInput
 2.  ? Other modifications ?
 3. Add custom profile input class to registry.cfg
 4. Modify Profile to add the input class to the input class list
 Any suggestions would be much appreciated.
 Thanks
 _______________________________________________
 Pki-users mailing list
 Pki-users(a)redhat.com
 
https://www.redhat.com/mailman/listinfo/pki-users