Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private OpenSslEngineMap engineMap  
      private OpenSslAsyncPrivateKeyMethod keyMethod  
      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
    • Method Detail

      • 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