Package com.netscape.cms.profile.output
Class PKCS12Output
- java.lang.Object
-
- com.netscape.cms.profile.common.ProfileOutput
-
- com.netscape.cms.profile.output.EnrollOutput
-
- com.netscape.cms.profile.output.PKCS12Output
-
- All Implemented Interfaces:
IConfigTemplate
public class PKCS12Output extends EnrollOutput
This class implements the output plugin that outputs PKCS12 response for the issued certificate for Server-side keygen enrollment. Christina Fu
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
logger
static java.lang.String
VAL_P12_RESPONSE
-
Fields inherited from class com.netscape.cms.profile.output.EnrollOutput
mConfigNames
-
-
Constructor Summary
Constructors Constructor Description PKCS12Output()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName(java.util.Locale locale)
Retrieves the localizable name of this policy.java.lang.String
getText(java.util.Locale locale)
Retrieves the localizable description of this policy.java.lang.String
getValue(java.lang.String name, java.util.Locale locale, IRequest request)
Retrieves the value of the given value parameter by name.IDescriptor
getValueDescriptor(java.util.Locale locale, java.lang.String name)
Retrieves the descriptor of the given value parameter by name.void
populate(java.util.Map<java.lang.String,java.lang.String> ctx, IRequest request)
Populates the request with this policy default.-
Methods inherited from class com.netscape.cms.profile.output.EnrollOutput
addValueName, getConfig, getConfigDescriptor, getConfigNames, getConfigStore, getDefaultConfig, getValueNames, init, setConfig, setValue
-
-
-
-
Field Detail
-
logger
public static org.slf4j.Logger logger
-
VAL_P12_RESPONSE
public static final java.lang.String VAL_P12_RESPONSE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName(java.util.Locale locale)
Retrieves the localizable name of this policy.- Specified by:
getName
in classEnrollOutput
- Parameters:
locale
- user locale- Returns:
- output policy name
-
getText
public java.lang.String getText(java.util.Locale locale)
Retrieves the localizable description of this policy.- Specified by:
getText
in classEnrollOutput
- Parameters:
locale
- user locale- Returns:
- output policy description
-
populate
public void populate(java.util.Map<java.lang.String,java.lang.String> ctx, IRequest request) throws EProfileException
Populates the request with this policy default.- Specified by:
populate
in classEnrollOutput
- Parameters:
ctx
- profile contextrequest
- request- Throws:
EProfileException
- failed to populate
-
getValueDescriptor
public IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
Retrieves the descriptor of the given value parameter by name.- Specified by:
getValueDescriptor
in classEnrollOutput
- Parameters:
locale
- user localename
- property name- Returns:
- property descriptor
-
getValue
public java.lang.String getValue(java.lang.String name, java.util.Locale locale, IRequest request) throws EProfileException
Description copied from class:ProfileOutput
Retrieves the value of the given value parameter by name.- Overrides:
getValue
in classEnrollOutput
- Parameters:
name
- property namelocale
- user localerequest
- request- Returns:
- property value
- Throws:
EProfileException
- failed to retrieve value
-
-