Package net.sourceforge.jnlp.security
Class HttpsCertVerifier
java.lang.Object
net.sourceforge.jnlp.security.HttpsCertVerifier
- All Implemented Interfaces:
CertVerifier
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetDetails(CertPath certPath) getPublisher(CertPath certPath) boolean
-
Method Details
-
getAlreadyTrustPublisher
public boolean getAlreadyTrustPublisher()- Specified by:
getAlreadyTrustPublisherin interfaceCertVerifier- Returns:
- if the publisher is already trusted
-
getCertPath
- Specified by:
getCertPathin interfaceCertVerifier- Returns:
- a valid certificate path to this certificate being verified
-
getDetails
- Specified by:
getDetailsin interfaceCertVerifier- Parameters:
certPath- certificate- Returns:
- the details regarding issue with this certificate
-
getPublisher
- Specified by:
getPublisherin interfaceCertVerifier- Parameters:
certPath- to be read for publisher- Returns:
- the application's publisher's certificate.
-
getRoot
- Specified by:
getRootin interfaceCertVerifier- Parameters:
certPath- certificate- Returns:
- the application's root's certificate. This may return the same certificate as getPublisher(CertPath certPath) in the event that the application is self signed.
-
getRootInCaCerts
public boolean getRootInCaCerts()- Specified by:
getRootInCaCertsin interfaceCertVerifier- Returns:
- if the root is in CA certs
-