Package org.apache.tools.ant.taskdefs
Class GenerateKey.DistinguishedName
java.lang.Object
org.apache.tools.ant.taskdefs.GenerateKey.DistinguishedName
- Enclosing class:
- GenerateKey
A class corresponding to the dname nested element.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a param nested element.Encode a name or value.Get the nested parameters.toString()
Generate a string rep of this distinguished name.
-
Constructor Details
-
DistinguishedName
public DistinguishedName()
-
-
Method Details
-
createParam
Create a param nested element.- Returns:
- a DnameParam object to be configured.
-
getParams
Get the nested parameters.- Returns:
- an enumeration of the nested parameters.
-
toString
Generate a string rep of this distinguished name. The format is each of the parameters (name = value) separated by ','. This is used on the command line. -
encode
Encode a name or value. The encoded result is the same as the input string except that each ',' is replaced by a '\,'.- Parameters:
string
- the value to be encoded- Returns:
- the encoded value.
-