setup() — netty Function Reference
Architecture documentation for the setup() function in AmazonCorrettoSslEngineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3545db8a_db28_bb4b_24b9_31518c0f26d4["setup()"] 35201cb6_a47d_5839_ecf0_7973573d09d1["AmazonCorrettoSslEngineTest"] 3545db8a_db28_bb4b_24b9_31518c0f26d4 -->|defined in| 35201cb6_a47d_5839_ecf0_7973573d09d1 style 3545db8a_db28_bb4b_24b9_31518c0f26d4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/AmazonCorrettoSslEngineTest.java lines 56–72
@BeforeEach
@Override
public void setup() {
// See https://github.com/corretto/amazon-corretto-crypto-provider/blob/develop/README.md#code
Security.insertProviderAt(AmazonCorrettoCryptoProvider.INSTANCE, 1);
// See https://github.com/corretto/amazon-corretto-crypto-provider/blob/develop/README.md#verification-optional
try {
AmazonCorrettoCryptoProvider.INSTANCE.assertHealthy();
String providerName = Cipher.getInstance("AES/GCM/NoPadding").getProvider().getName();
assertEquals(AmazonCorrettoCryptoProvider.PROVIDER_NAME, providerName);
} catch (Throwable e) {
Security.removeProvider(AmazonCorrettoCryptoProvider.PROVIDER_NAME);
throw new AssertionError(e);
}
super.setup();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does setup() do?
setup() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/AmazonCorrettoSslEngineTest.java.
Where is setup() defined?
setup() is defined in handler/src/test/java/io/netty/handler/ssl/AmazonCorrettoSslEngineTest.java at line 56.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free