public class HttpsCertVerifier extends java.lang.Object implements CertVerifier
| Constructor and Description |
|---|
HttpsCertVerifier(java.security.cert.X509Certificate[] chain,
java.lang.String authType,
boolean isTrusted,
boolean hostMatched,
java.lang.String hostName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAlreadyTrustPublisher() |
java.security.cert.CertPath |
getCertPath(java.security.cert.CertPath certPath) |
java.util.List<java.lang.String> |
getDetails(java.security.cert.CertPath certPath) |
java.security.cert.Certificate |
getPublisher(java.security.cert.CertPath certPath) |
java.security.cert.Certificate |
getRoot(java.security.cert.CertPath certPath) |
boolean |
getRootInCacerts() |
boolean |
hasSigningIssues(java.security.cert.CertPath certPath) |
public HttpsCertVerifier(java.security.cert.X509Certificate[] chain,
java.lang.String authType,
boolean isTrusted,
boolean hostMatched,
java.lang.String hostName)
public boolean getAlreadyTrustPublisher()
getAlreadyTrustPublisher in interface CertVerifierpublic java.security.cert.CertPath getCertPath(java.security.cert.CertPath certPath)
getCertPath in interface CertVerifiercertPath - to be readpublic java.util.List<java.lang.String> getDetails(java.security.cert.CertPath certPath)
getDetails in interface CertVerifiercertPath - certificatepublic java.security.cert.Certificate getPublisher(java.security.cert.CertPath certPath)
getPublisher in interface CertVerifiercertPath - to be read for publisherpublic java.security.cert.Certificate getRoot(java.security.cert.CertPath certPath)
getRoot in interface CertVerifiercertPath - certificatepublic boolean getRootInCacerts()
getRootInCacerts in interface CertVerifierpublic boolean hasSigningIssues(java.security.cert.CertPath certPath)
hasSigningIssues in interface CertVerifiercertPath - to be validated