createCertOfEveryKeyType() — netty Function Reference
Architecture documentation for the createCertOfEveryKeyType() function in CertificateBuilderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d5931114_2f6a_51d2_f0e7_941f59c0854b["createCertOfEveryKeyType()"] 8c85a9d3_f3ae_f481_1984_99bd24f9c654["CertificateBuilderTest"] d5931114_2f6a_51d2_f0e7_941f59c0854b -->|defined in| 8c85a9d3_f3ae_f481_1984_99bd24f9c654 style d5931114_2f6a_51d2_f0e7_941f59c0854b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
pkitesting/src/test/java/io/netty/pkitesting/CertificateBuilderTest.java lines 74–91
@ParameterizedTest
@EnumSource
void createCertOfEveryKeyType(Algorithm algorithm) throws Exception {
// Assume that RSA 4096 and RSA 8192 work if the other RSA bit-widths work.
// These big keys just take too long to test with.
assumeTrue(algorithm != Algorithm.rsa4096 && algorithm != Algorithm.rsa8192);
assumeTrue(algorithm.isSupported());
assumeTrue(algorithm.supportSigning());
X509Bundle bundle = BASE.copy()
.algorithm(algorithm)
.setIsCertificateAuthority(true)
.buildSelfSigned();
X509Certificate cert = bundle.getCertificate();
assertTrue(bundle.isCertificateAuthority());
assertTrue(bundle.isSelfSigned());
assertThat(cert.getSubjectX500Principal()).isEqualTo(new X500Principal(SUBJECT));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does createCertOfEveryKeyType() do?
createCertOfEveryKeyType() is a function in the netty codebase, defined in pkitesting/src/test/java/io/netty/pkitesting/CertificateBuilderTest.java.
Where is createCertOfEveryKeyType() defined?
createCertOfEveryKeyType() is defined in pkitesting/src/test/java/io/netty/pkitesting/CertificateBuilderTest.java at line 74.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free