Package org.bouncycastle.tls
Class TlsECCUtils
java.lang.Object
org.bouncycastle.tls.TlsECCUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckPointEncoding(int namedGroup, byte[] encoding) static TlsECConfigcreateNamedECConfig(TlsContext context, int namedGroup) static intgetMinimumCurveBits(int cipherSuite) static booleanisECCCipherSuite(int cipherSuite) static TlsECConfigreceiveECDHConfig(TlsContext context, InputStream input) static voidwriteECConfig(TlsECConfig ecConfig, OutputStream output) static voidwriteNamedECParameters(int namedGroup, OutputStream output)
-
Constructor Details
-
TlsECCUtils
public TlsECCUtils()
-
-
Method Details
-
createNamedECConfig
public static TlsECConfig createNamedECConfig(TlsContext context, int namedGroup) throws IOException - Throws:
IOException
-
getMinimumCurveBits
public static int getMinimumCurveBits(int cipherSuite) -
isECCCipherSuite
public static boolean isECCCipherSuite(int cipherSuite) -
checkPointEncoding
- Throws:
IOException
-
receiveECDHConfig
public static TlsECConfig receiveECDHConfig(TlsContext context, InputStream input) throws IOException - Throws:
IOException
-
writeECConfig
- Throws:
IOException
-
writeNamedECParameters
- Throws:
IOException
-