use of org.apache.zookeeper.common.X509KeyType in project zookeeper by apache.
the class UnifiedServerSocketTest method data.
public static Stream<Arguments> data() {
ArrayList<Arguments> result = new ArrayList<>();
int paramIndex = 0;
for (X509KeyType caKeyType : X509KeyType.values()) {
for (X509KeyType certKeyType : X509KeyType.values()) {
for (Boolean hostnameVerification : new Boolean[] { true, false }) {
result.add(Arguments.of(caKeyType, certKeyType, hostnameVerification, paramIndex++));
}
}
}
return result.stream();
}
Aggregations