IT. Expert System.

Android Reference

NativeCrypto.SSLHandshakeCallbacks


org.apache.harmony.xnet.provider.jsse

Interface NativeCrypto.SSLHandshakeCallbacks

    • Method Summary

      Methods
      Modifier and Type Method and Description
      void clientCertificateRequested(byte[] keyTypes, byte[][] asn1DerEncodedX500Principals)
      Called on an SSL client when the server requests (or requires a certificate).
      void handshakeCompleted()
      Called when SSL handshake is completed.
      void verifyCertificateChain(byte[][] asn1DerEncodedCertificateChain, String authMethod)
      Verify that we trust the certificate chain is trusted.
    • Method Detail

      • verifyCertificateChain

        void verifyCertificateChain(byte[][] asn1DerEncodedCertificateChain,
                                  String authMethod)
                                    throws CertificateException
        Verify that we trust the certificate chain is trusted.
        Parameters:
        asn1DerEncodedCertificateChain - A chain of ASN.1 DER encoded certificates
        authMethod - auth algorithm name
        Throws:
        CertificateException - if the certificate is untrusted
      • clientCertificateRequested

        void clientCertificateRequested(byte[] keyTypes,
                                      byte[][] asn1DerEncodedX500Principals)
                                        throws CertificateEncodingException,
                                               SSLException
        Called on an SSL client when the server requests (or requires a certificate). The client can respond by using SSL_use_certificate and SSL_use_PrivateKey to set a certificate if has an appropriate one available, similar to how the server provides its certificate.
        Parameters:
        keyTypes - key types supported by the server, convertible to strings with #keyType
        asn1DerEncodedX500Principals - CAs known to the server
        Throws:
        CertificateEncodingException
        SSLException
      • handshakeCompleted

        void handshakeCompleted()
        Called when SSL handshake is completed. Note that this can be after SSL_do_handshake returns when handshake cutthrough is enabled.


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: 15296 / 248392519. Delta: 0.02770 с