|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WolfSSLGenCookieCallback
wolfSSL I/O Receive Callback Interface. This interface specifies how applicaitons should implement the DTLS cookie generation callback class to be used by wolfSSL.
After implementing this interface, it should be passed as a parameter
to the WolfSSLContext.setGenCookie()
method to be registered with the native
wolfSSL library.
Method Summary | |
---|---|
int |
genCookieCallback(WolfSSLSession ssl,
byte[] buf,
int sz,
java.lang.Object ctx)
DTLS cookie generation callback method. |
Method Detail |
---|
int genCookieCallback(WolfSSLSession ssl, byte[] buf, int sz, java.lang.Object ctx)
ssl
- the current SSL session object from which the callback was
initiated.buf
- buffer in which the application should place generated
cookie.sz
- size of buffer, bufctx
- cookie context to be used
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |