| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private byte[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | DHValidationParameters(byte[]
the seed used to generate the parameters. seed)Base constructor - a seed, the counter will be set to -1. |
| public | DHValidationParameters(byte[]
the seed used to generate the parameters. seed, int the counter value associated with using the seed to generate the parameters. counter)Constructor with a seed and a (p, q) counter for it. |
| public | DHValidationParameters(byte[]
the seed value. seed, int (p, q) counter - -1 if not avaliable. counter, int the usage index. usageIndex)Base constructor with a seed, counter, and usage index. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int | |
| public byte[] | |
| public int | |
| public int |
| counter | back to summary |
|---|---|
| private int counter | |
| seed | back to summary |
|---|---|
| private byte[] seed | |
| usageIndex | back to summary |
|---|---|
| private int usageIndex | |
| DHValidationParameters | back to summary |
|---|---|
| public DHValidationParameters(byte[] seed) Base constructor - a seed, the counter will be set to -1.
| |
| DHValidationParameters | back to summary |
|---|---|
| public DHValidationParameters(byte[] seed, int counter) Constructor with a seed and a (p, q) counter for it.
| |
| DHValidationParameters | back to summary |
|---|---|
| public DHValidationParameters(byte[] seed, int counter, int usageIndex) Base constructor with a seed, counter, and usage index.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getCounter | back to summary |
|---|---|
| public int getCounter() Return the (p, q) counter value.
| |
| getSeed | back to summary |
|---|---|
| public byte[] getSeed() Return the seed used for the parameter generation.
| |
| getUsageIndex | back to summary |
|---|---|
| public int getUsageIndex() Return the usage index, -1 if none given.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |