Class JDKInMemoryTrustAnchorStore

    • Field Detail

      • keystore

        protected java.security.KeyStore keystore
      • anchors

        protected java.util.Set<java.security.cert.TrustAnchor> anchors
      • ca

        protected java.security.cert.X509Certificate[] ca
    • Constructor Detail

      • JDKInMemoryTrustAnchorStore

        public JDKInMemoryTrustAnchorStore​(java.security.KeyStore ks)
                                    throws java.security.KeyStoreException
        Throws:
        java.security.KeyStoreException
      • JDKInMemoryTrustAnchorStore

        protected JDKInMemoryTrustAnchorStore​(java.security.KeyStore ks,
                                              java.util.Timer timer,
                                              long updateInterval,
                                              ObserversHandler observers)
                                       throws java.security.KeyStoreException
        Throws:
        java.security.KeyStoreException
    • Method Detail

      • load

        protected void load()
                     throws java.security.KeyStoreException
        Throws:
        java.security.KeyStoreException
      • getTrustAnchors

        public java.util.Set<java.security.cert.TrustAnchor> getTrustAnchors()
      • getTrustedCertificates

        public java.security.cert.X509Certificate[] getTrustedCertificates()
      • getKeyStore

        public java.security.KeyStore getKeyStore()