| Modifier and Type | Field and Description |
|---|---|
| public int | |
| pack-priv double | |
| public double | |
| pack-priv int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public Digest | |
| public int | |
| pack-priv double | |
| public double | |
| public int | |
| public int |
| Access | Constructor and Description |
|---|---|
| public | NTRUSigningParameters(int
number of polynomial coefficients N, int modulus q, int number of -1's in the private polynomials d, int f and gnumber of perturbations B, double balancing factor for the transpose lattice beta, double maximum norm for valid signatures normBound, Digest a valid identifier for a hashAlg)java.security.MessageDigest instance such as SHA-256. The MessageDigest must support the getDigestLength() method.Constructs a parameter set that uses ternary private keys (i.e. |
| public | NTRUSigningParameters(int
number of polynomial coefficients N, int modulus q, int number of -1's in the private polynomials d1, int f and gnumber of -1's in the private polynomials d2, int f and gnumber of -1's in the private polynomials d3, int f and gnumber of perturbations B, double balancing factor for the transpose lattice beta, double maximum norm for valid signatures normBound, double maximum norm for the ploynomials keyNormBound, Digest F and Ga valid identifier for a hashAlg)java.security.MessageDigest instance such as SHA-256. The MessageDigest must support the getDigestLength() method.Constructs a parameter set that uses product-form private keys (i.e. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public NTRUSigningParameters | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| private void | |
| public String | |
| public void |
| B | back to summary |
|---|---|
| public int B | |
| beta | back to summary |
|---|---|
| pack-priv double beta | |
| betaSq | back to summary |
|---|---|
| public double betaSq | |
| bitsF | back to summary |
|---|---|
| pack-priv int bitsF | |
| d | back to summary |
|---|---|
| public int d | |
| d1 | back to summary |
|---|---|
| public int d1 | |
| d2 | back to summary |
|---|---|
| public int d2 | |
| d3 | back to summary |
|---|---|
| public int d3 | |
| hashAlg | back to summary |
|---|---|
| public Digest hashAlg | |
| N | back to summary |
|---|---|
| public int N | |
| normBound | back to summary |
|---|---|
| pack-priv double normBound | |
| normBoundSq | back to summary |
|---|---|
| public double normBoundSq | |
| q | back to summary |
|---|---|
| public int q | |
| signFailTolerance | back to summary |
|---|---|
| public int signFailTolerance | |
| NTRUSigningParameters | back to summary |
|---|---|
| public NTRUSigningParameters(int N, int q, int d, int B, double beta, double normBound, Digest hashAlg) Constructs a parameter set that uses ternary private keys (i.e.
| |
| NTRUSigningParameters | back to summary |
|---|---|
| public NTRUSigningParameters(int N, int q, int d1, int d2, int d3, int B, double beta, double normBound, double keyNormBound, Digest hashAlg) Constructs a parameter set that uses product-form private keys (i.e.
| |
| NTRUSigningParameters | back to summary |
|---|---|
| public NTRUSigningParameters(InputStream is) throws IOException Reads a parameter set from an input stream.
| |
| clone | back to summary |
|---|---|
| public NTRUSigningParameters clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) 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.
| |
| 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
| |
| init | back to summary |
|---|---|
| private void init() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(OutputStream os) throws IOException Writes the parameter set to an output stream
| |