| Modifier and Type | Class and Description |
|---|---|
| public static class | GenerateKey.
A class corresponding to the dname nested element. |
| public static class | GenerateKey.
A DistinguishedName parameter. |
| Modifier and Type | Field and Description |
|---|---|
| protected String | alias
The alias of signer. |
| protected String | |
| protected GenerateKey. | |
| protected String | |
| protected String | |
| protected int | |
| protected String | keystore
The name of keystore file. |
| protected String | |
| protected String | |
| protected String | |
| protected String | |
| protected int | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public GenerateKey. | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| alias | back to summary |
|---|---|
| protected String alias The alias of signer. | |
| dname | back to summary |
|---|---|
| protected String dname | |
| expandedDname | back to summary |
|---|---|
| protected GenerateKey. | |
| keyalg | back to summary |
|---|---|
| protected String keyalg | |
| keypass | back to summary |
|---|---|
| protected String keypass | |
| keysize | back to summary |
|---|---|
| protected int keysize | |
| keystore | back to summary |
|---|---|
| protected String keystore The name of keystore file. | |
| saname | back to summary |
|---|---|
| protected String saname | |
| sigalg | back to summary |
|---|---|
| protected String sigalg | |
| storepass | back to summary |
|---|---|
| protected String storepass | |
| storetype | back to summary |
|---|---|
| protected String storetype | |
| validity | back to summary |
|---|---|
| protected int validity | |
| verbose | back to summary |
|---|---|
| protected boolean verbose | |
| GenerateKey | back to summary |
|---|---|
| public GenerateKey() | |
| createDname | back to summary |
|---|---|
| public GenerateKey. Distinguished name list.
| |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Execute the task.
| |
| setAlias | back to summary |
|---|---|
| public void setAlias(final String alias) The alias to add under.
| |
| setDname | back to summary |
|---|---|
| public void setDname(final String dname) The distinguished name for entity.
| |
| setKeyalg | back to summary |
|---|---|
| public void setKeyalg(final String keyalg) The method to use when generating name-value pair.
| |
| setKeypass | back to summary |
|---|---|
| public void setKeypass(final String keypass) Password for private key (if different).
| |
| setKeysize | back to summary |
|---|---|
| public void setKeysize(final String keysize) throws BuildException Indicates the size of key generated.
| |
| setKeystore | back to summary |
|---|---|
| public void setKeystore(final String keystore) Keystore location.
| |
| setSaname | back to summary |
|---|---|
| public void setSaname(final String saname) The subject alternative name for entity.
| |
| setSigalg | back to summary |
|---|---|
| public void setSigalg(final String sigalg) The algorithm to use in signing.
| |
| setStorepass | back to summary |
|---|---|
| public void setStorepass(final String storepass) Password for keystore integrity. Must be at least 6 characters long.
| |
| setStoretype | back to summary |
|---|---|
| public void setStoretype(final String storetype) Keystore type.
| |
| setValidity | back to summary |
|---|---|
| public void setValidity(final String validity) throws BuildException Indicates how many days certificate is valid.
| |
| setVerbose | back to summary |
|---|---|
| public void setVerbose(final boolean verbose) If true, verbose output when signing.
| |
| Modifier and Type | Field and Description |
|---|---|
| private List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public String | |
| public Enumeration | |
| public String | Returns: a string rep of this nameOverrides java. |
| params | back to summary |
|---|---|
| private List<GenerateKey. | |
| DistinguishedName | back to summary |
|---|---|
| public DistinguishedName() | |
| createParam | back to summary |
|---|---|
| public Object createParam() Create a param nested element.
| |
| encode | back to summary |
|---|---|
| public String encode(final String string) Encode a name or value. The encoded result is the same as the input string except that each ',' is replaced by a '\,'. | |
| getParams | back to summary |
|---|---|
| public Enumeration Get the nested parameters.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. 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. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public boolean | |
| public void | |
| public void |
| DnameParam | back to summary |
|---|---|
| public DnameParam() | |
| getName | back to summary |
|---|---|
| public String getName() Get the name attribute.
| |
| getValue | back to summary |
|---|---|
| public String getValue() Get the value attribute.
| |
| isComplete | back to summary |
|---|---|
| public boolean isComplete() | |
| setName | back to summary |
|---|---|
| public void setName(String name) Set the name attribute.
| |
| setValue | back to summary |
|---|---|
| public void setValue(String value) Set the value attribute.
| |