Class KeyStoreBean

java.lang.Object
org.openqa.selenium.htmlunit.options.KeyStoreBean
All Implemented Interfaces:
Serializable

public class KeyStoreBean extends Object implements Serializable
Represents a key store configuration.

Holds information about the key store URL, password, and type.

Author:
Scott Babcock, Ronald Brill
See Also:
  • Constructor Details

    • KeyStoreBean

      public KeyStoreBean()
  • Method Details

    • getUrl

      public String getUrl()
      Gets the key store URL as a string.
      Returns:
      the key store URL
    • setUrl

      public void setUrl(String url)
      Sets the key store URL.
      Parameters:
      url - the key store URL
    • getPassword

      public String getPassword()
      Gets the password for the key store.
      Returns:
      the key store password
    • setPassword

      public void setPassword(String password)
      Sets the password for the key store.
      Parameters:
      password - the key store password
    • getType

      public String getType()
      Gets the type of the key store.
      Returns:
      the key store type
    • setType

      public void setType(String type)
      Sets the type of the key store.
      Parameters:
      type - the key store type
    • createUrl

      public URL createUrl() throws MalformedURLException
      Creates a URL object from the key store URL string.
      Returns:
      a URL object representing the key store URL
      Throws:
      MalformedURLException - if the URL string is not valid