Class ReferenceCountedOpenSslContext.PrivateKeyMethod

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

private static final class ReferenceCountedOpenSslContext.PrivateKeyMethod extends Object implements io.netty.internal.tcnative.SSLPrivateKeyMethod
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final OpenSslEngineMap
     
     

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

    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
    byte[]
    decrypt(long ssl, byte[] input)
     
    byte[]
    sign(long ssl, int signatureAlgorithm, byte[] digest)
     

    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 byte[] sign(long ssl, int signatureAlgorithm, byte[] digest) throws Exception
      Specified by:
      sign in interface io.netty.internal.tcnative.SSLPrivateKeyMethod
      Throws:
      Exception
    • decrypt

      public byte[] decrypt(long ssl, byte[] input) throws Exception
      Specified by:
      decrypt in interface io.netty.internal.tcnative.SSLPrivateKeyMethod
      Throws:
      Exception