IT. Expert System.

Android Reference

NativeCryptoTest


org.apache.harmony.xnet.provider.jsse

Class NativeCryptoTest

  • java.lang.Object
    • TestCase
      • org.apache.harmony.xnet.provider.jsse.NativeCryptoTest


  • public class NativeCryptoTest
    extends TestCase
    • Constructor Detail

      • NativeCryptoTest

        public NativeCryptoTest()
    • Method Detail

      • assertEqualSessions

        public static void assertEqualSessions(int expected,
                               int actual)
      • assertEqualByteArrays

        public static void assertEqualByteArrays(byte[] expected,
                                 byte[] actual)
      • assertEqualPrincipals

        public static void assertEqualPrincipals(byte[][] expected,
                                 byte[][] actual)
      • assertEqualCertificateChains

        public static void assertEqualCertificateChains(byte[][] expected,
                                        byte[][] actual)
      • assertEqualByteArrays

        public static void assertEqualByteArrays(byte[][] expected,
                                 byte[][] actual)
      • test_SSL_CTX_set_session_id_context

        public void test_SSL_CTX_set_session_id_context()
                                                 throws Exception
        Throws:
        Exception
      • test_SSL_use_certificate

        public void test_SSL_use_certificate()
                                      throws Exception
        Throws:
        Exception
      • test_SSL_use_PrivateKey

        public void test_SSL_use_PrivateKey()
                                     throws Exception
        Throws:
        Exception
      • test_SSL_check_private_key_null

        public void test_SSL_check_private_key_null()
                                             throws Exception
        Throws:
        Exception
      • test_SSL_check_private_key_no_key_no_cert

        public void test_SSL_check_private_key_no_key_no_cert()
                                                       throws Exception
        Throws:
        Exception
      • test_SSL_check_private_key_cert_then_key

        public void test_SSL_check_private_key_cert_then_key()
                                                      throws Exception
        Throws:
        Exception
      • test_SSL_check_private_key_key_then_cert

        public void test_SSL_check_private_key_key_then_cert()
                                                      throws Exception
        Throws:
        Exception
      • test_SSL_set_mode_and_clear_mode

        public void test_SSL_set_mode_and_clear_mode()
                                              throws Exception
        Throws:
        Exception
      • test_SSL_get_options

        public void test_SSL_get_options()
                                  throws Exception
        Throws:
        Exception
      • test_SSL_set_options

        public void test_SSL_set_options()
                                  throws Exception
        Throws:
        Exception
      • test_SSL_clear_options

        public void test_SSL_clear_options()
                                    throws Exception
        Throws:
        Exception
      • test_SSL_set_cipher_lists

        public void test_SSL_set_cipher_lists()
                                       throws Exception
        Throws:
        Exception
      • test_SSL_set_verify

        public void test_SSL_set_verify()
                                 throws Exception
        Throws:
        Exception
      • test_SSL_do_handshake_NULL_SSL

        public void test_SSL_do_handshake_NULL_SSL()
                                            throws Exception
        Throws:
        Exception
      • test_SSL_do_handshake_null_args

        public void test_SSL_do_handshake_null_args()
                                             throws Exception
        Throws:
        Exception
      • test_SSL_do_handshake_normal

        public void test_SSL_do_handshake_normal()
                                          throws Exception
        Throws:
        Exception
      • test_SSL_do_handshake_optional_client_certificate

        public void test_SSL_do_handshake_optional_client_certificate()
                                                               throws Exception
        Throws:
        Exception
      • test_SSL_do_handshake_missing_required_certificate

        public void test_SSL_do_handshake_missing_required_certificate()
                                                                throws Exception
        Throws:
        Exception
      • test_SSL_do_handshake_clientCertificateRequested_throws_after_renegotiate

        public void test_SSL_do_handshake_clientCertificateRequested_throws_after_renegotiate()
                                                                                       throws Exception
        Usually if a RuntimeException is thrown by the clientCertificateRequestedCalled callback, the caller sees it during the call to NativeCrypto_SSL_do_handshake. However, IIS does not request client certs until after the initial handshake. It does an SSL renegotiation, which means we need to be able to deliver the callback's exception in cases like SSL_read, SSL_write, and SSL_shutdown.
        Throws:
        Exception
      • test_SSL_do_handshake_client_timeout

        public void test_SSL_do_handshake_client_timeout()
                                                  throws Exception
        Throws:
        Exception
      • test_SSL_do_handshake_server_timeout

        public void test_SSL_do_handshake_server_timeout()
                                                  throws Exception
        Throws:
        Exception
      • test_SSL_set_session

        public void test_SSL_set_session()
                                  throws Exception
        Throws:
        Exception
      • test_SSL_set_session_creation_enabled

        public void test_SSL_set_session_creation_enabled()
                                                   throws Exception
        Throws:
        Exception
      • test_SSL_set_tlsext_host_name

        public void test_SSL_set_tlsext_host_name()
                                           throws Exception
        Throws:
        Exception
      • test_SSL_NpnNegotiateSuccess

        public void test_SSL_NpnNegotiateSuccess()
                                          throws Exception
        Throws:
        Exception
      • test_SSL_get_servername_null

        public void test_SSL_get_servername_null()
                                          throws Exception
        Throws:
        Exception
      • test_SSL_renegotiate

        public void test_SSL_renegotiate()
                                  throws Exception
        Throws:
        Exception
      • test_SSL_get_certificate

        public void test_SSL_get_certificate()
                                      throws Exception
        Throws:
        Exception
      • test_SSL_get_peer_cert_chain

        public void test_SSL_get_peer_cert_chain()
                                          throws Exception
        Throws:
        Exception
      • test_SSL_SESSION_session_id

        public void test_SSL_SESSION_session_id()
                                         throws Exception
        Throws:
        Exception
      • test_SSL_SESSION_get_time

        public void test_SSL_SESSION_get_time()
                                       throws Exception
        Throws:
        Exception
      • test_SSL_SESSION_get_version

        public void test_SSL_SESSION_get_version()
                                          throws Exception
        Throws:
        Exception
      • test_SSL_SESSION_cipher

        public void test_SSL_SESSION_cipher()
                                     throws Exception
        Throws:
        Exception
      • test_SSL_SESSION_free

        public void test_SSL_SESSION_free()
                                   throws Exception
        Throws:
        Exception
      • test_i2d_SSL_SESSION

        public void test_i2d_SSL_SESSION()
                                  throws Exception
        Throws:
        Exception
      • test_d2i_SSL_SESSION

        public void test_d2i_SSL_SESSION()
                                  throws Exception
        Throws:
        Exception
      • test_X509_NAME_hashes

        public void test_X509_NAME_hashes()
      • test_ENGINE_by_id_Failure

        public void test_ENGINE_by_id_Failure()
                                       throws Exception
        Throws:
        Exception
      • test_RAND_bytes_Success

        public void test_RAND_bytes_Success()
                                     throws Exception
        Throws:
        Exception
      • test_RAND_bytes_Null_Failure

        public void test_RAND_bytes_Null_Failure()
                                          throws Exception
        Throws:
        Exception


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2443 / . Delta: 0.06236 с