Class HttpsCertVerifier

java.lang.Object
net.sourceforge.jnlp.security.HttpsCertVerifier
All Implemented Interfaces:
CertVerifier

public class HttpsCertVerifier extends Object implements CertVerifier
  • Method Details

    • getAlreadyTrustPublisher

      public boolean getAlreadyTrustPublisher()
      Specified by:
      getAlreadyTrustPublisher in interface CertVerifier
      Returns:
      if the publisher is already trusted
    • getCertPath

      public CertPath getCertPath()
      Specified by:
      getCertPath in interface CertVerifier
      Returns:
      a valid certificate path to this certificate being verified
    • getDetails

      public List<String> getDetails(CertPath certPath)
      Specified by:
      getDetails in interface CertVerifier
      Parameters:
      certPath - certificate
      Returns:
      the details regarding issue with this certificate
    • getPublisher

      public Certificate getPublisher(CertPath certPath)
      Specified by:
      getPublisher in interface CertVerifier
      Parameters:
      certPath - to be read for publisher
      Returns:
      the application's publisher's certificate.
    • getRoot

      public Certificate getRoot(CertPath certPath)
      Specified by:
      getRoot in interface CertVerifier
      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:
      getRootInCaCerts in interface CertVerifier
      Returns:
      if the root is in CA certs