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(org.jxmpp.jid.EntityBareJid jid, String password, String host, int port, String tlsPin, boolean shouldThrow)
-
Field Details
-
DEBUG
public static boolean DEBUG
-
-
Constructor Details
-
TlsTest
public TlsTest()
-
-
Method Details
-
main
public static void main(String[] args) throws org.jxmpp.stringprep.XmppStringprepException, KeyManagementException, NoSuchAlgorithmException - Throws:
org.jxmpp.stringprep.XmppStringprepExceptionKeyManagementExceptionNoSuchAlgorithmException
-
tlsTest
public static void tlsTest(String runsString, CharSequence jidCs, String password, String host, String portString, String tlsPin, boolean shouldThrow) throws org.jxmpp.stringprep.XmppStringprepException, KeyManagementException, NoSuchAlgorithmException - Throws:
org.jxmpp.stringprep.XmppStringprepExceptionKeyManagementExceptionNoSuchAlgorithmException
-
tlsTest
public static void tlsTest(int runs, CharSequence jidCs, String password, String host, int port, String tlsPin, boolean shouldThrow) throws org.jxmpp.stringprep.XmppStringprepException, KeyManagementException, NoSuchAlgorithmException - Throws:
org.jxmpp.stringprep.XmppStringprepExceptionKeyManagementExceptionNoSuchAlgorithmException
-
tlsTest
public static boolean tlsTest(CharSequence jidCs, String password, String host, int port, String tlsPin, boolean shouldThrow) throws org.jxmpp.stringprep.XmppStringprepException, KeyManagementException, NoSuchAlgorithmException - Throws:
org.jxmpp.stringprep.XmppStringprepExceptionKeyManagementExceptionNoSuchAlgorithmException
-
tlsTest
public static boolean tlsTest(org.jxmpp.jid.EntityBareJid jid, String password, String host, int port, String tlsPin, boolean shouldThrow) throws KeyManagementException, NoSuchAlgorithmException
-