Class TlsTest
java.lang.Object
org.igniterealtime.smack.examples.TlsTest
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
tlsTest
(int runs, CharSequence jidCs, String password, String host, int port, String tlsPin, boolean shouldThrow) static boolean
tlsTest
(CharSequence jidCs, String password, String host, int port, String tlsPin, boolean shouldThrow) static void
tlsTest
(String runsString, CharSequence jidCs, String password, String host, String portString, String tlsPin, boolean shouldThrow) static boolean
tlsTest
(EntityBareJid jid, String password, String host, int port, String tlsPin, boolean shouldThrow)
-
Field Details
-
DEBUG
-
-
Constructor Details
-
TlsTest
public TlsTest()
-
-
Method Details
-
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
-