|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WolfSSLRsaVerifyCallback
wolfSSL RSA Verification Callback Interface. This interface specifies how applicaitons should implement the RSA verification callback class to be used by wolfSSL.
After implementing this interface, it should be passed as a parameter
to the WolfSSLContext.setRsaVerifyCb()
method to be registered with the native
wolfSSL library.
Method Summary | |
---|---|
int |
rsaVerifyCallback(WolfSSLSession ssl,
java.nio.ByteBuffer sig,
long sigSz,
java.nio.ByteBuffer out,
long outSz,
java.nio.ByteBuffer keyDer,
long keySz,
java.lang.Object ctx)
RSA verification callback method. |
Method Detail |
---|
int rsaVerifyCallback(WolfSSLSession ssl, java.nio.ByteBuffer sig, long sigSz, java.nio.ByteBuffer out, long outSz, java.nio.ByteBuffer keyDer, long keySz, java.lang.Object ctx)
ssl
- the current SSL session object from which the
callback was initiated.sig
- the signature to verifysigSz
- length of the signature, sigout
- the verification/output buffer after the decryption
process and padding.outSz
- size of the output buffer, outkeyDer
- the RSA Public key in ASN1 formatkeySz
- the length of the key, keyDer, in bytesctx
- custom user-registered ECC signing context
0
upon success,
otherwise a negative value on error.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |