Class KeyStoreUtil


  • public final class KeyStoreUtil
    extends java.lang.Object
    FILL ME
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private KeyStoreUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Collection<? extends java.security.cert.Certificate> getTrustedCertificates​(java.security.KeyStore keyStore, java.security.cert.X509CertSelector selector)
      Returns the list of certificates in the KeyStore.
      • Methods inherited from class java.lang.Object

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

      • KeyStoreUtil

        private KeyStoreUtil()
    • Method Detail

      • getTrustedCertificates

        public static java.util.Collection<? extends java.security.cert.Certificate> getTrustedCertificates​(java.security.KeyStore keyStore,
                                                                                                            java.security.cert.X509CertSelector selector)
                                                                                                     throws java.security.KeyStoreException
        Returns the list of certificates in the KeyStore. Return object will not be null.
        Parameters:
        keyStore -
        selector -
        Returns:
        the list of certificates in the KeyStore
        Throws:
        java.security.KeyStoreException