@UnstableApi public interface OpenSslPrivateKeyMethod
Modifier and Type | Field and Description |
---|---|
static int |
SSL_SIGN_ECDSA_SECP256R1_SHA256 |
static int |
SSL_SIGN_ECDSA_SECP384R1_SHA384 |
static int |
SSL_SIGN_ECDSA_SECP521R1_SHA512 |
static int |
SSL_SIGN_ECDSA_SHA1 |
static int |
SSL_SIGN_ED25519 |
static int |
SSL_SIGN_RSA_PKCS1_MD5_SHA1 |
static int |
SSL_SIGN_RSA_PKCS1_SHA1 |
static int |
SSL_SIGN_RSA_PKCS1_SHA256 |
static int |
SSL_SIGN_RSA_PKCS1_SHA384 |
static int |
SSL_SIGN_RSA_PKCS1_SHA512 |
static int |
SSL_SIGN_RSA_PSS_RSAE_SHA256 |
static int |
SSL_SIGN_RSA_PSS_RSAE_SHA384 |
static int |
SSL_SIGN_RSA_PSS_RSAE_SHA512 |
Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(SSLEngine engine,
byte[] input)
Decrypts the input with the given key and returns the decrypted bytes.
|
byte[] |
sign(SSLEngine engine,
int signatureAlgorithm,
byte[] input)
Signs the input with the given key and returns the signed bytes.
|
static final int SSL_SIGN_RSA_PKCS1_SHA1
static final int SSL_SIGN_RSA_PKCS1_SHA256
static final int SSL_SIGN_RSA_PKCS1_SHA384
static final int SSL_SIGN_RSA_PKCS1_SHA512
static final int SSL_SIGN_ECDSA_SHA1
static final int SSL_SIGN_ECDSA_SECP256R1_SHA256
static final int SSL_SIGN_ECDSA_SECP384R1_SHA384
static final int SSL_SIGN_ECDSA_SECP521R1_SHA512
static final int SSL_SIGN_RSA_PSS_RSAE_SHA256
static final int SSL_SIGN_RSA_PSS_RSAE_SHA384
static final int SSL_SIGN_RSA_PSS_RSAE_SHA512
static final int SSL_SIGN_ED25519
static final int SSL_SIGN_RSA_PKCS1_MD5_SHA1
byte[] sign(SSLEngine engine, int signatureAlgorithm, byte[] input) throws Exception
Copyright © 2008–2024 The Netty Project. All rights reserved.