expand() — netty Function Reference
Architecture documentation for the expand() function in CipherSuiteCanaryTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0f136b83_1558_aa90_a492_aab10b15897b["expand()"] ab6381a6_f969_6ff9_7dc9_1144730032e7["CipherSuiteCanaryTest"] 0f136b83_1558_aa90_a492_aab10b15897b -->|defined in| ab6381a6_f969_6ff9_7dc9_1144730032e7 44b07d4c_2068_b4d7_05ba_751ff01ee03c["parameters()"] 44b07d4c_2068_b4d7_05ba_751ff01ee03c -->|calls| 0f136b83_1558_aa90_a492_aab10b15897b style 0f136b83_1558_aa90_a492_aab10b15897b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/CipherSuiteCanaryTest.java lines 269–294
private static List<Object[]> expand(String rfcCipherName) {
List<Object[]> dst = new ArrayList<Object[]>();
SslProvider[] sslProviders = SslProvider.values();
for (int i = 0; i < sslProviders.length; i++) {
SslProvider serverSslProvider = sslProviders[i];
for (int j = 0; j < sslProviders.length; j++) {
SslProvider clientSslProvider = sslProviders[j];
if ((serverSslProvider != SslProvider.JDK || clientSslProvider != SslProvider.JDK)
&& !OpenSsl.isAvailable()) {
continue;
}
dst.add(new Object[]{serverSslProvider, clientSslProvider, rfcCipherName, true});
dst.add(new Object[]{serverSslProvider, clientSslProvider, rfcCipherName, false});
}
}
if (dst.isEmpty()) {
throw new IllegalStateException();
}
return dst;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does expand() do?
expand() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/CipherSuiteCanaryTest.java.
Where is expand() defined?
expand() is defined in handler/src/test/java/io/netty/handler/ssl/CipherSuiteCanaryTest.java at line 269.
What calls expand()?
expand() is called by 1 function(s): parameters.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free