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
Constructors Constructor Description GeneralNameAsConstraintsConfig(java.lang.String name, IConfigStore config, boolean isValueConfigured, boolean isPolicyEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.mozilla.jss.netscape.security.x509.GeneralName
formGeneralName(java.lang.String choice, java.lang.String value)
Form a general name from the value string.org.mozilla.jss.netscape.security.x509.GeneralName
getGeneralName()
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 Detail
-
GeneralNameAsConstraintsConfig
public GeneralNameAsConstraintsConfig(java.lang.String name, IConfigStore config, boolean isValueConfigured, boolean isPolicyEnabled) throws EBaseException
- Throws:
EBaseException
-
-
Method Detail
-
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(java.lang.String choice, java.lang.String value) throws EBaseException
Form a general name from the value string.- Overrides:
formGeneralName
in classGeneralNameConfig
- Throws:
EBaseException
-
-