|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WolfSSLVerifyCallback
wolfSSL Verify Callback Interface. This interface specifies how applicaitons should implement the verify callback class to be used by wolfSSL during the handshake process.
After implementing this interface, it should be passed as a parameter
to the WolfSSLContext.setVerify()
method to be registered with the native wolfSSL
library.
Method Summary | |
---|---|
int |
verifyCallback(int preverify_ok,
long x509StorePtr)
Verify callback method. |
Method Detail |
---|
int verifyCallback(int preverify_ok, long x509StorePtr)
preverify_ok
- indicates if verification of the peer certificate
already passed. 0 if failed, 1 if passed.x509StorePtr
- pointer to the context used for certificate
chain verification.
0
if the verification process should
stop immediately with an error. 1
if
the verification process should continue with the
rest of the handshake.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |