@Test public void testGetAcceptIssuers() throws CertificateEncodingException { assertThat(trustManager.getAcceptedIssuers()).isEmpty(); verify(certificate).getEncoded(); }
@Override public X509Certificate[] getAcceptedIssuers() { return new X509Certificate[0]; }
WhiteListTrustManager extends AbstractTrustManager { @Override public X509Certificate[] getAcceptedIssuers() { return new X509Certificate[0]; } }
WhiteListTrustManager extends AbstractTrustManager { @Override public X509Certificate[] getAcceptedIssuers() { return new X509Certificate[0]; } WhiteListTrustManager(Path knownHosts); }
WhiteListTrustManager extends AbstractTrustManager { @Override public X509Certificate[] getAcceptedIssuers() { return new X509Certificate[0]; } WhiteListTrustManager(Path knownHosts); @Override void checkClientTrusted(X509Certificate[] clientCertificates, String authType); @Override void checkServerTrusted(X509Certificate[] serverCertificates, String authType); @Override X509Certificate[] getAcceptedIssuers(); }
WhiteListTrustManager extends AbstractTrustManager { @Override public X509Certificate[] getAcceptedIssuers() { return new X509Certificate[0]; } WhiteListTrustManager(Path knownHosts); @Override void checkClientTrusted(X509Certificate[] clientCertificates, String authType); @Override void checkServerTrusted(X509Certificate[] serverCertificates, String authType); @Override X509Certificate[] getAcceptedIssuers();  }