CertificateUtil { public static KeyStore createKeyStore() { try { return KeyStore.getInstance(KeyStore.getDefaultType()); } catch (KeyStoreException e) { throw new UnexpectedCheckedException(e); } } private  CertificateUtil(); static CertPathValidator createCertPathValidator(); static PKIXParameters createPKIXParameters(Set<TrustAnchor> trustAnchors); static KeyStore createKeyStore(); static Set<TrustAnchor> generateTrustAnchors(List<C> certificates); static CertPath generateCertPath(List<C> certificates); static X509Certificate generateX509Certificate(byte[] bytes); static X509Certificate generateX509Certificate(InputStream inputStream);  }
@Test void createKeystore_test() { CertificateUtil.createKeyStore(); }