Class ServerKeygenInput

  • All Implemented Interfaces:
    com.netscape.certsrv.property.IConfigTemplate

    public class ServerKeygenInput
    extends EnrollInput
    This class implements input for the Server-Side Keygen Enrollment

    Author:
    Christina Fu
    • Constructor Detail

      • ServerKeygenInput

        public ServerKeygenInput()
    • Method Detail

      • init

        public void init​(Profile profile,
                         IConfigStore config)
                  throws com.netscape.certsrv.profile.EProfileException
        Initializes this default policy.
        Overrides:
        init in class EnrollInput
        Throws:
        com.netscape.certsrv.profile.EProfileException
      • getName

        public java.lang.String getName​(java.util.Locale locale)
        Retrieves the localizable name of this policy.
        Specified by:
        getName in class EnrollInput
        Parameters:
        locale - user locale
        Returns:
        localized input name
      • getText

        public java.lang.String getText​(java.util.Locale locale)
        Retrieves the localizable description of this policy.
        Specified by:
        getText in class EnrollInput
        Parameters:
        locale - user locale
        Returns:
        localized input description
      • getConfig

        public java.lang.String getConfig​(java.lang.String name)
        Description copied from interface: com.netscape.certsrv.property.IConfigTemplate
        Retrieves configuration parameter by name.
        Specified by:
        getConfig in interface com.netscape.certsrv.property.IConfigTemplate
        Overrides:
        getConfig in class EnrollInput
        Returns:
        parameter
      • populate

        public void populate​(java.util.Map<java.lang.String,​java.lang.String> ctx,
                             com.netscape.certsrv.request.IRequest request)
                      throws com.netscape.certsrv.profile.EProfileException
        Populates the request with this policy default.
        Specified by:
        populate in class EnrollInput
        Parameters:
        ctx - profile context
        request - request
        Throws:
        com.netscape.certsrv.profile.EProfileException
      • getValueDescriptor

        public com.netscape.certsrv.property.IDescriptor getValueDescriptor​(java.util.Locale locale,
                                                                            java.lang.String name)
        Retrieves the descriptor of the given value parameter by name.
        Specified by:
        getValueDescriptor in class EnrollInput
        Parameters:
        locale - user locale
        name - property name
        Returns:
        descriptor of the property