@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; SslConfigurator that = (SslConfigurator) o; if (keyManagerFactoryAlgorithm != null ? !keyManagerFactoryAlgorithm.equals(that.keyManagerFactoryAlgorithm) : that.keyManagerFactoryAlgorithm != null) { return false; } if (keyManagerFactoryProvider != null ? !keyManagerFactoryProvider.equals(that.keyManagerFactoryProvider) : that.keyManagerFactoryProvider != null) { return false; } if (!Arrays.equals(keyPass, that.keyPass)) { return false; } if (keyStore != null ? !keyStore.equals(that.keyStore) : that.keyStore != null) { return false; } if (!Arrays.equals(keyStoreBytes, that.keyStoreBytes)) { return false; } if (keyStoreFile != null ? !keyStoreFile.equals(that.keyStoreFile) : that.keyStoreFile != null) { return false; } if (!Arrays.equals(keyStorePass, that.keyStorePass)) { return false; } if (keyStoreProvider != null ? !keyStoreProvider.equals(that.keyStoreProvider) : that.keyStoreProvider != null) { return false; } if (keyStoreType != null ? !keyStoreType.equals(that.keyStoreType) : that.keyStoreType != null) { return false; } if (securityProtocol != null ? !securityProtocol.equals(that.securityProtocol) : that.securityProtocol != null) { return false; } if (trustManagerFactoryAlgorithm != null ? !trustManagerFactoryAlgorithm.equals(that.trustManagerFactoryAlgorithm) : that.trustManagerFactoryAlgorithm != null) { return false; } if (trustManagerFactoryProvider != null ? !trustManagerFactoryProvider.equals(that.trustManagerFactoryProvider) : that.trustManagerFactoryProvider != null) { return false; } if (trustStore != null ? !trustStore.equals(that.trustStore) : that.trustStore != null) { return false; } if (!Arrays.equals(trustStoreBytes, that.trustStoreBytes)) { return false; } if (trustStoreFile != null ? !trustStoreFile.equals(that.trustStoreFile) : that.trustStoreFile != null) { return false; } if (!Arrays.equals(trustStorePass, that.trustStorePass)) { return false; } if (trustStoreProvider != null ? !trustStoreProvider.equals(that.trustStoreProvider) : that.trustStoreProvider != null) { return false; } if (trustStoreType != null ? !trustStoreType.equals(that.trustStoreType) : that.trustStoreType != null) { return false; } return true; }