Package com.wolfssl.provider.jsse
Class WolfSSLEngineHelper.WolfSSLInternalVerifyCb
- java.lang.Object
-
- com.wolfssl.provider.jsse.WolfSSLEngineHelper.WolfSSLInternalVerifyCb
-
- All Implemented Interfaces:
WolfSSLVerifyCallback
- Enclosing class:
- WolfSSLEngineHelper
public class WolfSSLEngineHelper.WolfSSLInternalVerifyCb extends java.lang.Object implements WolfSSLVerifyCallback
-
-
Constructor Summary
Constructors Constructor Description WolfSSLInternalVerifyCb()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
verifyCallback(int preverify_ok, long x509StorePtr)
Verify callback method.
-
-
-
Method Detail
-
verifyCallback
public int verifyCallback(int preverify_ok, long x509StorePtr)
Description copied from interface:WolfSSLVerifyCallback
Verify callback method. This method acts as the verify callback to be used during the SSL/TLS handshake. It is called when verification of the peer certificate fails. Note that peer verification must be turned on.- Specified by:
verifyCallback
in interfaceWolfSSLVerifyCallback
- Parameters:
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.- Returns:
0
if the verification process should stop immediately with an error.1
if the verification process should continue with the rest of the handshake.
-
-