Class TlsTest
java.lang.Object
org.igniterealtime.smack.examples.TlsTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic 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 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
-