Class WolfSSLEngineHelper.WolfSSLInternalVerifyCb

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int verifyCallback​(int preverify_ok, long x509StorePtr)
      Verify callback method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WolfSSLInternalVerifyCb

        public WolfSSLInternalVerifyCb()
    • 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 interface WolfSSLVerifyCallback
        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.