Package org.bouncycastle.tls
Class TlsECCUtils
java.lang.Object
org.bouncycastle.tls.TlsECCUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkPointEncoding
(int namedGroup, byte[] encoding) static TlsECConfig
createNamedECConfig
(TlsContext context, int namedGroup) static int
getMinimumCurveBits
(int cipherSuite) static boolean
isECCCipherSuite
(int cipherSuite) static TlsECConfig
receiveECDHConfig
(TlsContext context, InputStream input) static void
writeECConfig
(TlsECConfig ecConfig, OutputStream output) static void
writeNamedECParameters
(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
-