doesSupportOcsp() — netty Function Reference
Architecture documentation for the doesSupportOcsp() function in OpenSsl.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD cb597410_c956_291a_5df0_5715524da118["doesSupportOcsp()"] ed038636_6deb_9fdb_0fd6_26635e25e0e6["OpenSsl"] cb597410_c956_291a_5df0_5715524da118 -->|defined in| ed038636_6deb_9fdb_0fd6_26635e25e0e6 02787f75_56a0_3d33_4fc4_fed3dbd5571b["version()"] cb597410_c956_291a_5df0_5715524da118 -->|calls| 02787f75_56a0_3d33_4fc4_fed3dbd5571b style cb597410_c956_291a_5df0_5715524da118 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/OpenSsl.java lines 561–578
private static boolean doesSupportOcsp() {
boolean supportsOcsp = false;
if (version() >= 0x10002000L) {
long sslCtx = -1;
try {
sslCtx = SSLContext.make(SSL.SSL_PROTOCOL_TLSV1_2, SSL.SSL_MODE_SERVER);
SSLContext.enableOcsp(sslCtx, false);
supportsOcsp = true;
} catch (Exception ignore) {
// ignore
} finally {
if (sslCtx != -1) {
SSLContext.free(sslCtx);
}
}
}
return supportsOcsp;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does doesSupportOcsp() do?
doesSupportOcsp() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSsl.java.
Where is doesSupportOcsp() defined?
doesSupportOcsp() is defined in handler/src/main/java/io/netty/handler/ssl/OpenSsl.java at line 561.
What does doesSupportOcsp() call?
doesSupportOcsp() calls 1 function(s): version.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free