Home / Type/ OpenSslAsyncPrivateKeyMethod Type — netty Architecture

OpenSslAsyncPrivateKeyMethod Type — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  6351dba2_acd3_a079_e18a_255e7bea3779["OpenSslAsyncPrivateKeyMethod"]
  7ca88e25_1c30_6e53_a596_658b85da08ff["OpenSslAsyncPrivateKeyMethod.java"]
  6351dba2_acd3_a079_e18a_255e7bea3779 -->|defined in| 7ca88e25_1c30_6e53_a596_658b85da08ff
  style 6351dba2_acd3_a079_e18a_255e7bea3779 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/OpenSslAsyncPrivateKeyMethod.java lines 23–58

public interface OpenSslAsyncPrivateKeyMethod {
    int SSL_SIGN_RSA_PKCS1_SHA1 = SSLPrivateKeyMethod.SSL_SIGN_RSA_PKCS1_SHA1;
    int SSL_SIGN_RSA_PKCS1_SHA256 = SSLPrivateKeyMethod.SSL_SIGN_RSA_PKCS1_SHA256;
    int SSL_SIGN_RSA_PKCS1_SHA384 = SSLPrivateKeyMethod.SSL_SIGN_RSA_PKCS1_SHA384;
    int SSL_SIGN_RSA_PKCS1_SHA512 = SSLPrivateKeyMethod.SSL_SIGN_RSA_PKCS1_SHA512;
    int SSL_SIGN_ECDSA_SHA1 = SSLPrivateKeyMethod.SSL_SIGN_ECDSA_SHA1;
    int SSL_SIGN_ECDSA_SECP256R1_SHA256 = SSLPrivateKeyMethod.SSL_SIGN_ECDSA_SECP256R1_SHA256;
    int SSL_SIGN_ECDSA_SECP384R1_SHA384 = SSLPrivateKeyMethod.SSL_SIGN_ECDSA_SECP384R1_SHA384;
    int SSL_SIGN_ECDSA_SECP521R1_SHA512 = SSLPrivateKeyMethod.SSL_SIGN_ECDSA_SECP521R1_SHA512;
    int SSL_SIGN_RSA_PSS_RSAE_SHA256 = SSLPrivateKeyMethod.SSL_SIGN_RSA_PSS_RSAE_SHA256;
    int SSL_SIGN_RSA_PSS_RSAE_SHA384 = SSLPrivateKeyMethod.SSL_SIGN_RSA_PSS_RSAE_SHA384;
    int SSL_SIGN_RSA_PSS_RSAE_SHA512 = SSLPrivateKeyMethod.SSL_SIGN_RSA_PSS_RSAE_SHA512;
    int SSL_SIGN_ED25519 = SSLPrivateKeyMethod.SSL_SIGN_ED25519;
    int SSL_SIGN_RSA_PKCS1_MD5_SHA1 = SSLPrivateKeyMethod.SSL_SIGN_RSA_PKCS1_MD5_SHA1;

    /**
     * Signs the input with the given key and notifies the returned {@link Future} with the signed bytes.
     *
     * @param engine                the {@link SSLEngine}
     * @param signatureAlgorithm    the algorithm to use for signing
     * @param input                 the digest itself
     * @return                      the {@link Future} that will be notified with the signed data
     *                              (must not be {@code null}) when the operation completes.
     */
    Future<byte[]> sign(SSLEngine engine, int signatureAlgorithm, byte[] input);

    /**
     * Decrypts the input with the given key and notifies the returned {@link Future} with the decrypted bytes.
     *
     * @param engine                the {@link SSLEngine}
     * @param input                 the input which should be decrypted
     * @return                      the {@link Future} that will be notified with the decrypted data
     *                              (must not be {@code null}) when the operation completes.
     */
    Future<byte[]> decrypt(SSLEngine engine, byte[] input);
}

Frequently Asked Questions

What is the OpenSslAsyncPrivateKeyMethod type?
OpenSslAsyncPrivateKeyMethod is a type/interface in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSslAsyncPrivateKeyMethod.java.
Where is OpenSslAsyncPrivateKeyMethod defined?
OpenSslAsyncPrivateKeyMethod is defined in handler/src/main/java/io/netty/handler/ssl/OpenSslAsyncPrivateKeyMethod.java at line 23.

Analyze Your Own Codebase

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

Try Supermodel Free