Class OpenSSLCertificateVerifier

    • Constructor Summary

      Constructors 
      Constructor Description
      OpenSSLCertificateVerifier​(javax.net.ssl.X509TrustManager x509TrustManager)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean verify​(long ssl, byte[][] chain, java.lang.String auth)
      Returns true if the passed in certificate chain could be verified and so the handshake should be successful, false otherwise.
      • Methods inherited from class java.lang.Object

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

      • OpenSSLCertificateVerifier

        public OpenSSLCertificateVerifier​(javax.net.ssl.X509TrustManager x509TrustManager)
    • Method Detail

      • verify

        public boolean verify​(long ssl,
                              byte[][] chain,
                              java.lang.String auth)
        Description copied from interface: CertificateVerifier
        Returns true if the passed in certificate chain could be verified and so the handshake should be successful, false otherwise.
        Specified by:
        verify in interface CertificateVerifier
        Parameters:
        ssl - the SSL instance
        chain - the X509 certificate chain
        auth - the auth algorithm
        Returns:
        verified true if verified successful, false otherwise