Class GeneralNameConfig
java.lang.Object
org.dogtagpki.legacy.core.policy.GeneralNameConfig
- All Implemented Interfaces:
IGeneralNameConfig
- Direct Known Subclasses:
GeneralNameAsConstraintsConfig,SubjAltNameGN
convenience class for policies use.
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.mozilla.jss.netscape.security.x509.GeneralNamebooleanboolean -
Constructor Summary
ConstructorsConstructorDescriptionGeneralNameConfig(String name, IConfigStore config, boolean isValueConfigured, boolean isPolicyEnabled) -
Method Summary
Modifier and TypeMethodDescriptionorg.mozilla.jss.netscape.security.x509.GeneralNameformGeneralName(String value) Form a general name from the value string.org.mozilla.jss.netscape.security.x509.GeneralNameformGeneralName(String choice, String value) Vector<org.mozilla.jss.netscape.security.x509.GeneralName> formGeneralNames(Object value) Forms general names from the given value.static voidgetDefaultParams(String name, boolean isValueConfigured, Vector<String> params) Get default paramsstatic voidgetExtendedPluginInfo(String name, boolean isValueConfigured, Vector<String> info) Get extended plugin infovoidgetInstanceParams(Vector<String> params) Get instance paramsgetName()getValue()boolean
-
Field Details
-
mName
-
mNameDot
-
mConfig
-
mGenNameChoice
-
mIsValueConfigured
public boolean mIsValueConfigured -
mValue
-
mGeneralName
public org.mozilla.jss.netscape.security.x509.GeneralName mGeneralName -
mIsPolicyEnabled
public boolean mIsPolicyEnabled -
mNameDotChoice
-
mNameDotValue
-
-
Constructor Details
-
GeneralNameConfig
public GeneralNameConfig(String name, IConfigStore config, boolean isValueConfigured, boolean isPolicyEnabled) throws EBaseException - Throws:
EBaseException
-
-
Method Details
-
formGeneralName
public org.mozilla.jss.netscape.security.x509.GeneralName formGeneralName(String value) throws EBaseException Form a general name from the value string.- Specified by:
formGeneralNamein interfaceIGeneralNameConfig- Parameters:
value- general name in string- Returns:
- general name object
- Throws:
EBaseException- failed to form general name
-
formGeneralName
public org.mozilla.jss.netscape.security.x509.GeneralName formGeneralName(String choice, String value) throws EBaseException - Throws:
EBaseException
-
formGeneralNames
public Vector<org.mozilla.jss.netscape.security.x509.GeneralName> formGeneralNames(Object value) throws EBaseException Description copied from interface:IGeneralNameConfigForms general names from the given value.- Specified by:
formGeneralNamesin interfaceIGeneralNameConfig- Parameters:
value- general name in string- Returns:
- a vector of General names from a value that can be either a Vector of strings, string array or just a string. Returned Vector can be null if value is not of expected type.
- Throws:
EBaseException- failed to form general name
-
getName
-
getConfig
-
getGenNameChoice
-
getValue
-
isValueConfigured
public boolean isValueConfigured() -
getDefaultParams
-
getInstanceParams
Get instance params- Specified by:
getInstanceParamsin interfaceIGeneralNameConfig- Parameters:
params- parameters
-
getExtendedPluginInfo
-