Interface TrustStoreLoader

  • All Known Implementing Classes:
    TrustStoreLoader.DefaultTrustStoreLoader, TrustStoreLoader.FileTrustStoreLoader

    public interface TrustStoreLoader
    An implementation of TrustStoreLoader handles fetching a KeyStore from the operating system, a file, etc. It's necessary because the Java KeyStore abstraction is not completely seamless and for example we sometimes need slightly different techniques to load the key store on different versions of Android, MacOS, Windows, etc.
    • Field Detail

      • DEFAULT_KEYSTORE_TYPE

        static final java.lang.String DEFAULT_KEYSTORE_TYPE
      • DEFAULT_KEYSTORE_PASSWORD

        static final java.lang.String DEFAULT_KEYSTORE_PASSWORD
        See Also:
        Constant Field Values
    • Method Detail

      • getKeyStore

        java.security.KeyStore getKeyStore()
                                    throws java.io.FileNotFoundException,
                                           java.security.KeyStoreException
        Throws:
        java.io.FileNotFoundException
        java.security.KeyStoreException