Home / Type/ BoringSSLPrivateKeyMethod Type — netty Architecture

BoringSSLPrivateKeyMethod Type — netty Architecture

Architecture documentation for the BoringSSLPrivateKeyMethod type/interface in BoringSSLPrivateKeyMethod.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  763c3e6b_bd64_1f9e_87a8_4d49b81fefec["BoringSSLPrivateKeyMethod"]
  88f45aab_274e_a66a_74dc_61b2ba090ed6["BoringSSLPrivateKeyMethod.java"]
  763c3e6b_bd64_1f9e_87a8_4d49b81fefec -->|defined in| 88f45aab_274e_a66a_74dc_61b2ba090ed6
  style 763c3e6b_bd64_1f9e_87a8_4d49b81fefec fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/BoringSSLPrivateKeyMethod.java lines 23–59

interface BoringSSLPrivateKeyMethod {
    int SSL_SIGN_RSA_PKCS1_SHA1 = BoringSSLNativeStaticallyReferencedJniMethods.ssl_sign_rsa_pkcs_sha1();
    int SSL_SIGN_RSA_PKCS1_SHA256 = BoringSSLNativeStaticallyReferencedJniMethods.ssl_sign_rsa_pkcs_sha256();
    int SSL_SIGN_RSA_PKCS1_SHA384 = BoringSSLNativeStaticallyReferencedJniMethods.ssl_sign_rsa_pkcs_sha384();
    int SSL_SIGN_RSA_PKCS1_SHA512 = BoringSSLNativeStaticallyReferencedJniMethods.ssl_sign_rsa_pkcs_sha512();
    int SSL_SIGN_ECDSA_SHA1 = BoringSSLNativeStaticallyReferencedJniMethods.ssl_sign_ecdsa_pkcs_sha1();
    int SSL_SIGN_ECDSA_SECP256R1_SHA256 =
            BoringSSLNativeStaticallyReferencedJniMethods.ssl_sign_ecdsa_secp256r1_sha256();
    int SSL_SIGN_ECDSA_SECP384R1_SHA384 =
            BoringSSLNativeStaticallyReferencedJniMethods.ssl_sign_ecdsa_secp384r1_sha384();
    int SSL_SIGN_ECDSA_SECP521R1_SHA512 =
            BoringSSLNativeStaticallyReferencedJniMethods.ssl_sign_ecdsa_secp521r1_sha512();
    int SSL_SIGN_RSA_PSS_RSAE_SHA256 = BoringSSLNativeStaticallyReferencedJniMethods.ssl_sign_rsa_pss_rsae_sha256();
    int SSL_SIGN_RSA_PSS_RSAE_SHA384 = BoringSSLNativeStaticallyReferencedJniMethods.ssl_sign_rsa_pss_rsae_sha384();
    int SSL_SIGN_RSA_PSS_RSAE_SHA512 = BoringSSLNativeStaticallyReferencedJniMethods.ssl_sign_rsa_pss_rsae_sha512();
    int SSL_SIGN_ED25519 = BoringSSLNativeStaticallyReferencedJniMethods.ssl_sign_ed25519();
    int SSL_SIGN_RSA_PKCS1_MD5_SHA1 = BoringSSLNativeStaticallyReferencedJniMethods.ssl_sign_rsa_pkcs1_md5_sha1();

    /**
     * Sign the input with given EC key and returns the signed bytes.
     *
     * @param ssl the SSL instance
     * @param signatureAlgorithm the algorithm to use for signing
     * @param input the input itself
     * @param callback the callback provides the signed bytes and an error if such occurs while signing
     */
    void sign(long ssl, int signatureAlgorithm, byte[] input, BiConsumer<byte[], Throwable> callback);

    /**
     * Decrypts the input with the given RSA key and returns the decrypted bytes.
     *
     * @param ssl the SSL instance
     * @param input the input which should be decrypted
     * @param callback the callback provides the decrypted bytes and an error if such occurs while decrypting
     */
    void decrypt(long ssl, byte[] input, BiConsumer<byte[], Throwable> callback);
}

Frequently Asked Questions

What is the BoringSSLPrivateKeyMethod type?
BoringSSLPrivateKeyMethod is a type/interface in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/BoringSSLPrivateKeyMethod.java.
Where is BoringSSLPrivateKeyMethod defined?
BoringSSLPrivateKeyMethod is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/BoringSSLPrivateKeyMethod.java at line 23.

Analyze Your Own Codebase

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

Try Supermodel Free