validCertificatesWithCrlMustPassValidation() — netty Function Reference
Architecture documentation for the validCertificatesWithCrlMustPassValidation() function in CertificateBuilderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ec2ba717_9f15_1fe4_4eeb_a23c3a3b3bb6["validCertificatesWithCrlMustPassValidation()"] 8c85a9d3_f3ae_f481_1984_99bd24f9c654["CertificateBuilderTest"] ec2ba717_9f15_1fe4_4eeb_a23c3a3b3bb6 -->|defined in| 8c85a9d3_f3ae_f481_1984_99bd24f9c654 style ec2ba717_9f15_1fe4_4eeb_a23c3a3b3bb6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
pkitesting/src/test/java/io/netty/pkitesting/CertificateBuilderTest.java lines 367–386
@ParameterizedTest
@MethodSource("providers")
void validCertificatesWithCrlMustPassValidation(Provider provider) throws Exception {
X509Bundle root = BASE.copy()
.setIsCertificateAuthority(true)
.setKeyUsage(true, KeyUsage.digitalSignature, KeyUsage.keyCertSign, KeyUsage.cRLSign)
.buildSelfSigned();
RevocationServer server = RevocationServer.getInstance();
server.register(root, provider);
X509Bundle cert = BASE.copy()
.subject("CN=leaf.netty.io")
.addCrlDistributionPoint(server.getCrlUri(root))
.addExtendedKeyUsageClientAuth()
.buildIssuedBy(root);
X509TrustManager tm = getX509TrustManager(root);
// Assert that this does not throw:
tm.checkClientTrusted(cert.getCertificatePath(), "EC");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does validCertificatesWithCrlMustPassValidation() do?
validCertificatesWithCrlMustPassValidation() is a function in the netty codebase, defined in pkitesting/src/test/java/io/netty/pkitesting/CertificateBuilderTest.java.
Where is validCertificatesWithCrlMustPassValidation() defined?
validCertificatesWithCrlMustPassValidation() is defined in pkitesting/src/test/java/io/netty/pkitesting/CertificateBuilderTest.java at line 367.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free