checkErrorCode() — netty Function Reference
Architecture documentation for the checkErrorCode() function in OpenSslCertificateException.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a7006d08_4eac_1df3_acaf_590af5ed84eb["checkErrorCode()"] 1d357d80_422f_42a2_590c_4e58672d1fe9["OpenSslCertificateException"] a7006d08_4eac_1df3_acaf_590af5ed84eb -->|defined in| 1d357d80_422f_42a2_590c_4e58672d1fe9 3ed8d00b_fc54_6ee4_6e08_4892caef820e["OpenSslCertificateException()"] 3ed8d00b_fc54_6ee4_6e08_4892caef820e -->|calls| a7006d08_4eac_1df3_acaf_590af5ed84eb style a7006d08_4eac_1df3_acaf_590af5ed84eb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/OpenSslCertificateException.java lines 72–80
private static int checkErrorCode(int errorCode) {
// Call OpenSsl.isAvailable() to ensure we try to load the native lib as CertificateVerifier.isValid(...)
// will depend on it. If loading fails we will just skip the validation.
if (OpenSsl.isAvailable() && !CertificateVerifier.isValid(errorCode)) {
throw new IllegalArgumentException("errorCode '" + errorCode +
"' invalid, see https://www.openssl.org/docs/man1.0.2/apps/verify.html.");
}
return errorCode;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does checkErrorCode() do?
checkErrorCode() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSslCertificateException.java.
Where is checkErrorCode() defined?
checkErrorCode() is defined in handler/src/main/java/io/netty/handler/ssl/OpenSslCertificateException.java at line 72.
What calls checkErrorCode()?
checkErrorCode() is called by 1 function(s): OpenSslCertificateException.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free