Evaluate whether a given public key should be trusted. Essentially, this amounts to checking to see if there is a certificate in the keystore, whose public key matches the transmitted public key.
Evaluate whether a given certificate chain should be trusted.
@param certs Certificate chain to validate
@return true if the certificate chain is valid, false otherwise
@throws WSSecurityException
Evaluate whether a given certificate chain should be trusted.
@param certs Certificate chain to validate
@param enableRevocation whether to enable CRL verification or not
@throws WSSecurityException if the certificate chain is invalid
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.