Class SSLPrivateKeyMethodTask

java.lang.Object
io.netty.internal.tcnative.SSLTask
io.netty.internal.tcnative.SSLPrivateKeyMethodTask
All Implemented Interfaces:
AsyncTask, Runnable
Direct Known Subclasses:
SSLPrivateKeyMethodDecryptTask, SSLPrivateKeyMethodSignTask

abstract class SSLPrivateKeyMethodTask extends SSLTask implements AsyncTask
  • Field Details

    • EMPTY

      private static final byte[] EMPTY
    • method

      private final AsyncSSLPrivateKeyMethod method
    • resultBytes

      private byte[] resultBytes
  • Constructor Details

  • Method Details

    • runAsync

      public final void runAsync(Runnable completeCallback)
      Description copied from interface: AsyncTask
      Run this AsyncTask in an async fashion. Which means it will be run and completed at some point. Once it is done the Runnable is called
      Specified by:
      runAsync in interface AsyncTask
      Parameters:
      completeCallback - The Runnable that is run once the task was run and completed.
    • runTask

      protected final void runTask(long ssl, SSLTask.TaskCallback callback)
      Description copied from class: SSLTask
      Run the task and return the return value that should be passed back to OpenSSL.
      Specified by:
      runTask in class SSLTask
    • runTask

      protected abstract void runTask(long ssl, AsyncSSLPrivateKeyMethod method, ResultCallback<byte[]> resultCallback)