@Override
    public int hashCode() {
      return Objects.hash(caKeyType, certKeyType, Arrays.hashCode(keyPassword));
    }
Will cache X509TestContext to speed up tests.
hbase-common/src/test/java/org/apache/hadoop/hbase/io/crypto/tls/X509TestContextProvider.java