Package org.dogtagpki.legacy.core.policy
Class GeneralNameAsConstraintsConfig
java.lang.Object
org.dogtagpki.legacy.core.policy.GeneralNameConfig
org.dogtagpki.legacy.core.policy.GeneralNameAsConstraintsConfig
- All Implemented Interfaces:
IGeneralNameAsConstraintsConfig
,IGeneralNameConfig
public class GeneralNameAsConstraintsConfig
extends GeneralNameConfig
implements IGeneralNameAsConstraintsConfig
convenience class for policies use.
-
Field Summary
Fields inherited from class org.dogtagpki.legacy.core.policy.GeneralNameConfig
mConfig, mGeneralName, mGenNameChoice, mIsPolicyEnabled, mIsValueConfigured, mName, mNameDot, mNameDotChoice, mNameDotValue, mValue
-
Constructor Summary
ConstructorsConstructorDescriptionGeneralNameAsConstraintsConfig
(String name, ConfigStore config, boolean isValueConfigured, boolean isPolicyEnabled) -
Method Summary
Modifier and TypeMethodDescriptionorg.mozilla.jss.netscape.security.x509.GeneralName
formGeneralName
(String choice, String value) Form a general name from the value string.org.mozilla.jss.netscape.security.x509.GeneralName
Retrieves the general name.Methods inherited from class org.dogtagpki.legacy.core.policy.GeneralNameConfig
formGeneralName, formGeneralNames, getConfig, getDefaultParams, getExtendedPluginInfo, getGenNameChoice, getInstanceParams, getName, getValue, isValueConfigured
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.dogtagpki.legacy.policy.IGeneralNameAsConstraintsConfig
getInstanceParams
-
Constructor Details
-
GeneralNameAsConstraintsConfig
public GeneralNameAsConstraintsConfig(String name, ConfigStore config, boolean isValueConfigured, boolean isPolicyEnabled) throws EBaseException - Throws:
EBaseException
-
-
Method Details
-
getGeneralName
public org.mozilla.jss.netscape.security.x509.GeneralName getGeneralName()Description copied from interface:IGeneralNameAsConstraintsConfig
Retrieves the general name.- Specified by:
getGeneralName
in interfaceIGeneralNameAsConstraintsConfig
- Returns:
- general name
-
formGeneralName
public org.mozilla.jss.netscape.security.x509.GeneralName formGeneralName(String choice, String value) throws EBaseException Form a general name from the value string.- Overrides:
formGeneralName
in classGeneralNameConfig
- Throws:
EBaseException
-