Class CertificateStore

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.net.ssl.SSLContext getSSLContext()
      Lazily create and get the ssl context.
      java.net.URI getUri()
      The uri to the certificate store.
      void setConfiguration​(Configuration configuration)
      Set the configuration that the object belongs to.
      void setPassword​(java.lang.String password)
      The password for unlocking the certificate store.
      void setUri​(java.net.URI uri)
      The uri to the certificate store.
      void validate​(java.util.List<java.lang.Throwable> validationErrors, Configuration config)
      validate that the configuration was correct.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CertificateStore

        public CertificateStore()
    • Method Detail

      • getUri

        public java.net.URI getUri()
        The uri to the certificate store.
      • setUri

        public void setUri​(java.net.URI uri)
        The uri to the certificate store. It is a uri to a java jks keystore file along with the password for unlocking the store.
        Parameters:
        uri - the uri to use for loading the file
      • setPassword

        public void setPassword​(java.lang.String password)
        The password for unlocking the certificate store.
        Parameters:
        password - the password for unlocking the certificate store.
      • validate

        public void validate​(java.util.List<java.lang.Throwable> validationErrors,
                             Configuration config)
        Description copied from interface: ConfigurationObject
        validate that the configuration was correct.
        Specified by:
        validate in interface ConfigurationObject
        Parameters:
        validationErrors - a list to add any detected errors to.
        config - the containing configuration
      • getSSLContext

        public javax.net.ssl.SSLContext getSSLContext()
        Lazily create and get the ssl context.