### Question:
SecretsManager { public abstract Secrets getSecrets(String name);  static synchronized SecretsManager get(); abstract Secrets getSecrets(String name); abstract void removeSecrets(String name);  }### Answer:
@Test public void testGetSecrets() throws Exception { Secrets secrets = SecretsManager.get().getSecrets("test"); SecretKey secretKey = secrets.getSecretKey(); PublicKey publicKey = secrets.getPublicKey(); PrivateKey privateKey = secrets.getPrivateKey(); System.out.println(secretKey.getAlgorithm()); System.out.println(publicKey.getAlgorithm()); System.out.println(privateKey.getAlgorithm()); }