h.
| Modifier and Type | Field and Description |
|---|---|
| public IntegerPolynomial | |
| private NTRUSigningParameters |
| Access | Constructor and Description |
|---|---|
| public | NTRUSigningPublicKeyParameters(IntegerPolynomial
the polynomial h, NTRUSigningParameters h which determines the keythe NtruSign parameters to use params)Constructs a new public key from a polynomial |
| public | NTRUSigningPublicKeyParameters(byte[]
an encoded polynomial b, NTRUSigningParameters the NtruSign parameters to use params)Converts a byte array to a polynomial |
| public | NTRUSigningPublicKeyParameters(InputStream
an input stream is, NTRUSigningParameters the NtruSign parameters to use params)Reads a polynomial |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public byte[] | |
| public int | |
| public void |
| h | back to summary |
|---|---|
| public IntegerPolynomial h | |
| params | back to summary |
|---|---|
| private NTRUSigningParameters params | |
| NTRUSigningPublicKeyParameters | back to summary |
|---|---|
| public NTRUSigningPublicKeyParameters(IntegerPolynomial h, NTRUSigningParameters params) Constructs a new public key from a polynomial
| |
| NTRUSigningPublicKeyParameters | back to summary |
|---|---|
| public NTRUSigningPublicKeyParameters(byte[] b, NTRUSigningParameters params) Converts a byte array to a polynomial
| |
| NTRUSigningPublicKeyParameters | back to summary |
|---|---|
| public NTRUSigningPublicKeyParameters(InputStream is, NTRUSigningParameters params) throws IOException Reads a polynomial
| |
| 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. | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Converts the key to a byte array
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(OutputStream os) throws IOException Writes the key to an output stream
| |