@Test void install() throws NoSuchAlgorithmException { SpiffeProvider.install(); KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(SpiffeProviderConstants.ALGORITHM); TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(SpiffeProviderConstants.ALGORITHM); assertNotNull(keyManagerFactory); assertNotNull(trustManagerFactory); SpiffeProvider.install(); }
public static void install() { if (Security.getProvider(PROVIDER_NAME) == null) { Security.addProvider(new SpiffeProvider()); } }
SpiffeProvider extends Provider { public static void install() { if (Security.getProvider(PROVIDER_NAME) == null) { Security.addProvider(new SpiffeProvider()); } } }
SpiffeProvider extends Provider { public static void install() { if (Security.getProvider(PROVIDER_NAME) == null) { Security.addProvider(new SpiffeProvider()); } } SpiffeProvider(); }
SpiffeProvider extends Provider { public static void install() { if (Security.getProvider(PROVIDER_NAME) == null) { Security.addProvider(new SpiffeProvider()); } } SpiffeProvider(); static void install(); }
SpiffeProvider extends Provider { public static void install() { if (Security.getProvider(PROVIDER_NAME) == null) { Security.addProvider(new SpiffeProvider()); } } SpiffeProvider(); static void install();  }