public class DefaultTlsECConfigVerifier extends java.lang.Object implements TlsECConfigVerifier
Modifier and Type | Field and Description |
---|---|
protected int |
minimumCurveBits |
protected int[] |
namedCurves |
Constructor and Description |
---|
DefaultTlsECConfigVerifier(int minimumCurveBits,
int[] namedCurves) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(TlsECConfig ecConfig)
Check whether the given EC configuration is acceptable for use.
|
protected int minimumCurveBits
protected int[] namedCurves
public DefaultTlsECConfigVerifier(int minimumCurveBits, int[] namedCurves)
public boolean accept(TlsECConfig ecConfig)
TlsECConfigVerifier
accept
in interface TlsECConfigVerifier
ecConfig
- the TlsECConfig
to check