class SoapSTSKeystoreConfig {

    @Override
    public boolean equals(Object other) {
        if (other instanceof SoapSTSKeystoreConfig) {
            SoapSTSKeystoreConfig otherConfig = (SoapSTSKeystoreConfig)other;
            return keystoreFileName.equals(otherConfig.getKeystoreFileName()) &&
                    Arrays.equals(keystorePassword, otherConfig.getKeystorePassword()) &&
                    Objects.equal(signatureKeyAlias, otherConfig.getSignatureKeyAlias()) &&
                    Objects.equal(encryptionKeyAlias, otherConfig.getEncryptionKeyAlias()) &&
                    Arrays.equals(signatureKeyPassword, otherConfig.getSignatureKeyPassword()) &&
                    Arrays.equals(encryptionKeyPassword, otherConfig.getEncryptionKeyPassword());
        }
        return false;
    }

    private  SoapSTSKeystoreConfig(SoapSTSKeystoreConfigBuilder builder);

}