Top Fields Constructors Methods
io.netty.internal.tcnative

pack-priv final Class AsyncSSLPrivateKeyMethodAdapter

extends Object
implements AsyncSSLPrivateKeyMethod
Class Inheritance
All Implemented Interfaces
io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod

Field Summary

Modifier and TypeField and Description
private final SSLPrivateKeyMethod

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
decrypt(long
the SSL instance
ssl
,
byte[]
the input which should be decrypted
input
,
ResultCallback<byte[]>
the callback that will be notified once the operation completes
resultCallback
)

Implements io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod.decrypt.

Decrypts the input with the given RSA key and notify ResultCallback with the decrypted bytes.
public void
sign(long
the SSL instance
ssl
,
int
the algorithm to use for signing
signatureAlgorithm
,
byte[]
the input itself
input
,
ResultCallback<byte[]>
the callback that will be notified once the operation completes
resultCallback
)

Implements io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod.sign.

Sign the input with given EC key and notify ResultCallback with the signed bytes.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

methodback to summary
private final SSLPrivateKeyMethod method

Constructor Detail

AsyncSSLPrivateKeyMethodAdapterback to summary
pack-priv AsyncSSLPrivateKeyMethodAdapter(SSLPrivateKeyMethod method)

Method Detail

decryptback to summary
public void decrypt(long ssl, byte[] input, ResultCallback<byte[]> resultCallback)

Implements io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod.decrypt.

Doc from io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod.decrypt.

Decrypts the input with the given RSA key and notify ResultCallback with the decrypted bytes.

Parameters
ssl:long

the SSL instance

input:byte[]

the input which should be decrypted

resultCallback:ResultCallback<byte[]>

the callback that will be notified once the operation completes

Annotations
@Override
signback to summary
public void sign(long ssl, int signatureAlgorithm, byte[] input, ResultCallback<byte[]> resultCallback)

Implements io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod.sign.

Doc from io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod.sign.

Sign the input with given EC key and notify ResultCallback with the signed bytes.

Parameters
ssl:long

the SSL instance

signatureAlgorithm:int

the algorithm to use for signing

input:byte[]

the input itself

resultCallback:ResultCallback<byte[]>

the callback that will be notified once the operation completes

Annotations
@Override