class SpiffeKeyManager extends X509ExtendedKeyManager {

    @Override
    public PrivateKey getPrivateKey(final String alias) {
        // if the alias specified is not the alias handled by the current KeyManager, return null
        if (!Objects.equals(alias, DEFAULT_ALIAS)) {
            return null;
        }

        val x509Svid = x509SvidSource.getX509Svid();
        return x509Svid.getPrivateKey();
    }

    public  SpiffeKeyManager(@NonNull final X509SvidSource x509SvidSource);

}