Class TlsTest
- java.lang.Object
-
- org.igniterealtime.smack.examples.TlsTest
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEBUG
-
Constructor Summary
Constructors Constructor Description TlsTest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)static voidtlsTest(int runs, CharSequence jidCs, String password, String host, int port, String tlsPin, boolean shouldThrow)static booleantlsTest(CharSequence jidCs, String password, String host, int port, String tlsPin, boolean shouldThrow)static voidtlsTest(String runsString, CharSequence jidCs, String password, String host, String portString, String tlsPin, boolean shouldThrow)static booleantlsTest(EntityBareJid jid, String password, String host, int port, String tlsPin, boolean shouldThrow)
-
-
-
Field Detail
-
DEBUG
public static boolean DEBUG
-
-
Constructor Detail
-
TlsTest
public TlsTest()
-
-
Method Detail
-
main
public static void main(String[] args) throws XmppStringprepException, KeyManagementException, NoSuchAlgorithmException
-
tlsTest
public static void tlsTest(String runsString, CharSequence jidCs, String password, String host, String portString, String tlsPin, boolean shouldThrow) throws XmppStringprepException, KeyManagementException, NoSuchAlgorithmException
-
tlsTest
public static void tlsTest(int runs, CharSequence jidCs, String password, String host, int port, String tlsPin, boolean shouldThrow) throws XmppStringprepException, KeyManagementException, NoSuchAlgorithmException
-
tlsTest
public static boolean tlsTest(CharSequence jidCs, String password, String host, int port, String tlsPin, boolean shouldThrow) throws XmppStringprepException, KeyManagementException, NoSuchAlgorithmException
-
tlsTest
public static boolean tlsTest(EntityBareJid jid, String password, String host, int port, String tlsPin, boolean shouldThrow) throws KeyManagementException, NoSuchAlgorithmException
-
-