Package org.bouncycastle.tls
Class TlsSRPUtils
java.lang.Object
org.bouncycastle.tls.TlsSRPUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddSRPExtension(Hashtable extensions, byte[] identity) static byte[]createSRPExtension(byte[] identity) static byte[]getSRPExtension(Hashtable extensions) static booleanisSRPCipherSuite(int cipherSuite) static byte[]readSRPExtension(byte[] extensionData) static BigIntegerreadSRPParameter(InputStream input) static voidwriteSRPParameter(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)
-