Class Stores.ReloadableTrustStore

  • Enclosing class:
    Stores

    private static class Stores.ReloadableTrustStore
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ReloadableTrustStore​(java.lang.String casLocationPattern)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.security.KeyStore getTrustStore()  
      protected boolean isStillValid()  
      private void reload()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • casLocationPattern

        private final java.lang.String casLocationPattern
      • keyStore

        private final java.security.KeyStore keyStore
      • lastUpdateTime

        private long lastUpdateTime
    • Constructor Detail

      • ReloadableTrustStore

        protected ReloadableTrustStore​(java.lang.String casLocationPattern)
                                throws java.security.KeyStoreException,
                                       java.security.NoSuchProviderException,
                                       java.security.NoSuchAlgorithmException,
                                       java.security.cert.CertificateException,
                                       java.io.IOException
        Throws:
        java.security.KeyStoreException
        java.security.NoSuchProviderException
        java.security.NoSuchAlgorithmException
        java.security.cert.CertificateException
        java.io.IOException
    • Method Detail

      • reload

        private void reload()
                     throws java.security.NoSuchAlgorithmException,
                            java.security.cert.CertificateException,
                            java.io.IOException
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.cert.CertificateException
        java.io.IOException
      • isStillValid

        protected boolean isStillValid()
      • getTrustStore

        protected java.security.KeyStore getTrustStore()
                                                throws java.security.NoSuchAlgorithmException,
                                                       java.security.cert.CertificateException,
                                                       java.io.IOException
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.cert.CertificateException
        java.io.IOException