Class ReferenceCountedOpenSslContext.AsyncPrivateKeyMethod

java.lang.Object
io.netty.handler.ssl.ReferenceCountedOpenSslContext.AsyncPrivateKeyMethod
All Implemented Interfaces:
io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod
Enclosing class:
ReferenceCountedOpenSslContext

private static final class ReferenceCountedOpenSslContext.AsyncPrivateKeyMethod extends java.lang.Object implements io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    private static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final OpenSslEngineMap
     
     

    Fields inherited from interface io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod

    SSL_SIGN_ECDSA_SECP256R1_SHA256, SSL_SIGN_ECDSA_SECP384R1_SHA384, SSL_SIGN_ECDSA_SECP521R1_SHA512, SSL_SIGN_ECDSA_SHA1, SSL_SIGN_ED25519, SSL_SIGN_RSA_PKCS1_MD5_SHA1, SSL_SIGN_RSA_PKCS1_SHA1, SSL_SIGN_RSA_PKCS1_SHA256, SSL_SIGN_RSA_PKCS1_SHA384, SSL_SIGN_RSA_PKCS1_SHA512, SSL_SIGN_RSA_PSS_RSAE_SHA256, SSL_SIGN_RSA_PSS_RSAE_SHA384, SSL_SIGN_RSA_PSS_RSAE_SHA512
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    decrypt(long ssl, byte[] bytes, io.netty.internal.tcnative.ResultCallback<byte[]> resultCallback)
     
    void
    sign(long ssl, int signatureAlgorithm, byte[] bytes, io.netty.internal.tcnative.ResultCallback<byte[]> resultCallback)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • sign

      public void sign(long ssl, int signatureAlgorithm, byte[] bytes, io.netty.internal.tcnative.ResultCallback<byte[]> resultCallback)
      Specified by:
      sign in interface io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod
    • decrypt

      public void decrypt(long ssl, byte[] bytes, io.netty.internal.tcnative.ResultCallback<byte[]> resultCallback)
      Specified by:
      decrypt in interface io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod