public class AnyCertVerifier extends Object implements X509CertificateVerifier
Constructor and Description |
---|
AnyCertVerifier() |
Modifier and Type | Method and Description |
---|---|
boolean |
verify(X509Certificate cert,
String alias,
KeyStore keyStore,
KeyStore trustStore)
Returns true regardless of the arguments.
|
public boolean verify(X509Certificate cert, String alias, KeyStore keyStore, KeyStore trustStore)
verify
in interface X509CertificateVerifier
cert
- - the X509Certificate to verifieralias
- - the expected keystore aliaskeyStore
- - the keystore for the certtrustStore
- - the truststore for the cert signerCopyright © 2016 JBoss by Red Hat. All rights reserved.