IT. Expert System.

Android Reference

X509TrustManager


javax.net.ssl

Interface X509TrustManager

    • Method Summary

      Methods
      Modifier and Type Method and Description
      void checkClientTrusted(X509Certificate[] chain, String authType)
      Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for client authentication for the specified authentication type.
      void checkServerTrusted(X509Certificate[] chain, String authType)
      Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for server authentication for the specified key exchange algorithm.
      X509Certificate[] getAcceptedIssuers()
      Returns the list of certificate issuer authorities which are trusted for authentication of peers.
    • Method Detail

      • checkClientTrusted

        void checkClientTrusted(X509Certificate[] chain,
                              String authType)
                                throws CertificateException
        Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for client authentication for the specified authentication type.
        Parameters:
        chain - the certificate chain to validate.
        authType - the authentication type used.
        Throws:
        CertificateException - if the certificate chain can't be validated or isn't trusted.
        IllegalArgumentException - if the specified certificate chain is empty or null, or if the specified authentication type is null or an empty string.
      • checkServerTrusted

        void checkServerTrusted(X509Certificate[] chain,
                              String authType)
                                throws CertificateException
        Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for server authentication for the specified key exchange algorithm.
        Parameters:
        chain - the certificate chain to validate.
        authType - the key exchange algorithm name.
        Throws:
        CertificateException - if the certificate chain can't be validated or isn't trusted.
        IllegalArgumentException - if the specified certificate chain is empty or null, or if the specified authentication type is null or an empty string.
      • getAcceptedIssuers

        X509Certificate[] getAcceptedIssuers()
        Returns the list of certificate issuer authorities which are trusted for authentication of peers.
        Returns:
        the list of certificate issuer authorities which are trusted for authentication of peers.


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: 14455 / . Delta: 0.16426 с