Package org.bouncycastle.tls
Class TlsSRPUtils
java.lang.Object
org.bouncycastle.tls.TlsSRPUtils
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addSRPExtension
(Hashtable extensions, byte[] identity) static byte[]
createSRPExtension
(byte[] identity) static byte[]
getSRPExtension
(Hashtable extensions) static boolean
isSRPCipherSuite
(int cipherSuite) static byte[]
readSRPExtension
(byte[] extensionData) static BigInteger
readSRPParameter
(InputStream input) static void
writeSRPParameter
(BigInteger x, OutputStream output)
-
Field Details
-
EXT_SRP
-
-
Constructor Details
-
TlsSRPUtils
public TlsSRPUtils()
-
-
Method Details
-
addSRPExtension
- Throws:
IOException
-
getSRPExtension
- Throws:
IOException
-
createSRPExtension
- Throws:
IOException
-
readSRPExtension
- Throws:
IOException
-
readSRPParameter
- Throws:
IOException
-
writeSRPParameter
- Throws:
IOException
-
isSRPCipherSuite
public static boolean isSRPCipherSuite(int cipherSuite)
-