Home / Function/ toBIO() — netty Function Reference

toBIO() — netty Function Reference

Architecture documentation for the toBIO() function in ReferenceCountedOpenSslContext.java from the netty codebase.

Function java Buffer Allocators calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  2cd31a19_5ca6_d5ce_61fe_753af4367e31["toBIO()"]
  a8fb0f76_e201_5987_db10_2b8b0b47e791["ReferenceCountedOpenSslContext"]
  2cd31a19_5ca6_d5ce_61fe_753af4367e31 -->|defined in| a8fb0f76_e201_5987_db10_2b8b0b47e791
  3ed85459_5fc7_ea62_077b_f651f59ccc8a["setKeyMaterial()"]
  3ed85459_5fc7_ea62_077b_f651f59ccc8a -->|calls| 2cd31a19_5ca6_d5ce_61fe_753af4367e31
  4bd0abd9_b8ec_3db0_ec88_b0976da28e9e["release()"]
  2cd31a19_5ca6_d5ce_61fe_753af4367e31 -->|calls| 4bd0abd9_b8ec_3db0_ec88_b0976da28e9e
  0f3333cb_eeca_56d6_7108_63f6ed2f4bca["newBIO()"]
  2cd31a19_5ca6_d5ce_61fe_753af4367e31 -->|calls| 0f3333cb_eeca_56d6_7108_63f6ed2f4bca
  style 2cd31a19_5ca6_d5ce_61fe_753af4367e31 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslContext.java lines 979–990

    static long toBIO(ByteBufAllocator allocator, PrivateKey key) throws Exception {
        if (key == null) {
            return 0;
        }

        PemEncoded pem = PemPrivateKey.toPEM(allocator, true, key);
        try {
            return toBIO(allocator, pem.retain());
        } finally {
            pem.release();
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does toBIO() do?
toBIO() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslContext.java.
Where is toBIO() defined?
toBIO() is defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslContext.java at line 979.
What does toBIO() call?
toBIO() calls 2 function(s): newBIO, release.
What calls toBIO()?
toBIO() is called by 1 function(s): setKeyMaterial.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free