congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
AdvancedX509TrustManager.findX509TrustManager
Code IndexAdd Tabnine to your IDE (free)

How to use
findX509TrustManager
method
in
com.owncloud.android.lib.common.network.AdvancedX509TrustManager

Best Java code snippets using com.owncloud.android.lib.common.network.AdvancedX509TrustManager.findX509TrustManager (Showing top 2 results out of 315)

origin: owncloud/android-library

/**
 * Constructor for AdvancedX509TrustManager
 * 
 * @param  knownServersKeyStore    Local certificates store with server certificates explicitly trusted by the user.
 * @throws CertStoreException       When no default X509TrustManager instance was found in the system.
 */
public AdvancedX509TrustManager(KeyStore knownServersKeyStore)
    throws NoSuchAlgorithmException, KeyStoreException, CertStoreException {
  super();
  TrustManagerFactory factory = TrustManagerFactory
      .getInstance(TrustManagerFactory.getDefaultAlgorithm());
  factory.init((KeyStore)null);
  mStandardTrustManager = findX509TrustManager(factory);
  mKnownServersKeyStore = knownServersKeyStore;
}

origin: nextcloud/android-library

/**
 * Constructor for AdvancedX509TrustManager
 * 
 * @param  knownServersKeyStore    Local certificates store with server certificates explicitly trusted by the user.
 * @throws CertStoreException       When no default X509TrustManager instance was found in the system.
 */
public AdvancedX509TrustManager(KeyStore knownServersKeyStore)
    throws NoSuchAlgorithmException, KeyStoreException, CertStoreException {
  super();
  TrustManagerFactory factory = TrustManagerFactory
      .getInstance(TrustManagerFactory.getDefaultAlgorithm());
  factory.init((KeyStore)null);
  mStandardTrustManager = findX509TrustManager(factory);
  mKnownServersKeyStore = knownServersKeyStore;
}

com.owncloud.android.lib.common.networkAdvancedX509TrustManagerfindX509TrustManager

Javadoc

Locates the first X509TrustManager provided by a given TrustManagerFactory

Popular methods of AdvancedX509TrustManager

  • <init>
    Constructor for AdvancedX509TrustManager
  • isKnownServer

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • findViewById (Activity)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • JButton (javax.swing)
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now