Class ReferenceCountedOpenSslContext.PrivateKeyMethod

  • All Implemented Interfaces:
    io.netty.internal.tcnative.SSLPrivateKeyMethod
    Enclosing class:
    ReferenceCountedOpenSslContext

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

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

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

      • sign

        public byte[] sign​(long ssl,
                           int signatureAlgorithm,
                           byte[] digest)
                    throws java.lang.Exception
        Specified by:
        sign in interface io.netty.internal.tcnative.SSLPrivateKeyMethod
        Throws:
        java.lang.Exception
      • decrypt

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