@Test void chooseEngineServerAlias() { String alias = spiffeKeyManager.chooseEngineServerAlias("EC", null, null); assertEquals(DEFAULT_ALIAS, alias); }
@Override public String chooseEngineServerAlias(final String keyType, final Principal[] issuers, final SSLEngine sslEngine) { return getAlias(keyType); }
SpiffeKeyManager extends X509ExtendedKeyManager { @Override public String chooseEngineServerAlias(final String keyType, final Principal[] issuers, final SSLEngine sslEngine) { return getAlias(keyType); } }
SpiffeKeyManager extends X509ExtendedKeyManager { @Override public String chooseEngineServerAlias(final String keyType, final Principal[] issuers, final SSLEngine sslEngine) { return getAlias(keyType); } SpiffeKeyManager(@NonNull final X509SvidSource x509SvidSource); }
SpiffeKeyManager extends X509ExtendedKeyManager { @Override public String chooseEngineServerAlias(final String keyType, final Principal[] issuers, final SSLEngine sslEngine) { return getAlias(keyType); } SpiffeKeyManager(@NonNull final X509SvidSource x509SvidSource); @Override X509Certificate[] getCertificateChain(final String alias); @Override PrivateKey getPrivateKey(final String alias); @Override String[] getClientAliases(final String keyType, final Principal[] issuers); @Override String chooseClientAlias(final String[] keyTypes, final Principal[] issuers, final Socket socket); @Override String chooseEngineClientAlias(final String[] keyTypes, final Principal[] issuers, final SSLEngine sslEngine); @Override String[] getServerAliases(final String keyType, final Principal[] issuers); @Override String chooseEngineServerAlias(final String keyType, final Principal[] issuers, final SSLEngine sslEngine); @Override String chooseServerAlias(final String keyType, final Principal[] issuers, final Socket socket); }
SpiffeKeyManager extends X509ExtendedKeyManager { @Override public String chooseEngineServerAlias(final String keyType, final Principal[] issuers, final SSLEngine sslEngine) { return getAlias(keyType); } SpiffeKeyManager(@NonNull final X509SvidSource x509SvidSource); @Override X509Certificate[] getCertificateChain(final String alias); @Override PrivateKey getPrivateKey(final String alias); @Override String[] getClientAliases(final String keyType, final Principal[] issuers); @Override String chooseClientAlias(final String[] keyTypes, final Principal[] issuers, final Socket socket); @Override String chooseEngineClientAlias(final String[] keyTypes, final Principal[] issuers, final SSLEngine sslEngine); @Override String[] getServerAliases(final String keyType, final Principal[] issuers); @Override String chooseEngineServerAlias(final String keyType, final Principal[] issuers, final SSLEngine sslEngine); @Override String chooseServerAlias(final String keyType, final Principal[] issuers, final Socket socket);  }