public class TlsECConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
namedCurve |
protected boolean |
pointCompression |
Constructor and Description |
---|
TlsECConfig() |
Modifier and Type | Method and Description |
---|---|
int |
getNamedCurve()
Return the TLS identifier of the named curve associated with this config.
|
boolean |
getPointCompression()
Return whether or not point compression is enabled for this config.
|
void |
setNamedCurve(int namedCurve)
Set the curve to use.
|
void |
setPointCompression(boolean pointCompression)
Set whether point compression should be enabled for this config.
|
protected int namedCurve
protected boolean pointCompression
public int getNamedCurve()
public void setNamedCurve(int namedCurve)
namedCurve
- the TLS ID for the curve to use.public boolean getPointCompression()
public void setPointCompression(boolean pointCompression)
pointCompression
- true if point compression should be enabled.