Top Fields Methods
io.netty.handler.ssl

public Interface OpenSslAsyncPrivateKeyMethod

Imports
io.netty.internal.tcnative.SSLPrivateKeyMethod, io.netty.util.concurrent.Future, javax.net.ssl.SSLEngine

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int

Method Summary

Modifier and TypeMethod and Description
public Future<byte[]>

Returns:

the Future that will be notified with the decrypted data (must not be null) when the operation completes.
decrypt
(SSLEngine engine, byte[]
the input which should be decrypted
input
)

Decrypts the input with the given key and notifies the returned Future with the decrypted bytes.

public Future<byte[]>

Returns:

the Future that will be notified with the signed data (must not be null) when the operation completes.
sign
(SSLEngine engine, int
the algorithm to use for signing
signatureAlgorithm
,
byte[]
the digest itself
input
)

Signs the input with the given key and notifies the returned Future with the signed bytes.

Field Detail

SSL_SIGN_ECDSA_SECP256R1_SHA256back to summary
public static final int SSL_SIGN_ECDSA_SECP256R1_SHA256
SSL_SIGN_ECDSA_SECP384R1_SHA384back to summary
public static final int SSL_SIGN_ECDSA_SECP384R1_SHA384
SSL_SIGN_ECDSA_SECP521R1_SHA512back to summary
public static final int SSL_SIGN_ECDSA_SECP521R1_SHA512
SSL_SIGN_ECDSA_SHA1back to summary
public static final int SSL_SIGN_ECDSA_SHA1
SSL_SIGN_ED25519back to summary
public static final int SSL_SIGN_ED25519
SSL_SIGN_RSA_PKCS1_MD5_SHA1back to summary
public static final int SSL_SIGN_RSA_PKCS1_MD5_SHA1
SSL_SIGN_RSA_PKCS1_SHA1back to summary
public static final int SSL_SIGN_RSA_PKCS1_SHA1
SSL_SIGN_RSA_PKCS1_SHA256back to summary
public static final int SSL_SIGN_RSA_PKCS1_SHA256
SSL_SIGN_RSA_PKCS1_SHA384back to summary
public static final int SSL_SIGN_RSA_PKCS1_SHA384
SSL_SIGN_RSA_PKCS1_SHA512back to summary
public static final int SSL_SIGN_RSA_PKCS1_SHA512
SSL_SIGN_RSA_PSS_RSAE_SHA256back to summary
public static final int SSL_SIGN_RSA_PSS_RSAE_SHA256
SSL_SIGN_RSA_PSS_RSAE_SHA384back to summary
public static final int SSL_SIGN_RSA_PSS_RSAE_SHA384
SSL_SIGN_RSA_PSS_RSAE_SHA512back to summary
public static final int SSL_SIGN_RSA_PSS_RSAE_SHA512

Method Detail

decryptback to summary
public Future<byte[]> decrypt(SSLEngine engine, byte[] input)

Decrypts the input with the given key and notifies the returned Future with the decrypted bytes.

Parameters
engine:SSLEngine

the SSLEngine

input:byte[]

the input which should be decrypted

Returns:Future<byte[]>

the Future that will be notified with the decrypted data (must not be null) when the operation completes.

signback to summary
public Future<byte[]> sign(SSLEngine engine, int signatureAlgorithm, byte[] input)

Signs the input with the given key and notifies the returned Future with the signed bytes.

Parameters
engine:SSLEngine

the SSLEngine

signatureAlgorithm:int

the algorithm to use for signing

input:byte[]

the digest itself

Returns:Future<byte[]>

the Future that will be notified with the signed data (must not be null) when the operation completes.