Class KeyStoreBean
java.lang.Object
org.openqa.selenium.htmlunit.options.KeyStoreBean
- All Implemented Interfaces:
Serializable
Represents a key store configuration.
Holds information about the key store URL, password, and type.
- Author:
- Scott Babcock, Ronald Brill
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates aURLobject from the key store URL string.Gets the password for the key store.getType()Gets the type of the key store.getUrl()Gets the key store URL as a string.voidsetPassword(String password) Sets the password for the key store.voidSets the type of the key store.voidSets the key store URL.
-
Constructor Details
-
KeyStoreBean
public KeyStoreBean()
-
-
Method Details
-
getUrl
Gets the key store URL as a string.- Returns:
- the key store URL
-
setUrl
Sets the key store URL.- Parameters:
url- the key store URL
-
getPassword
Gets the password for the key store.- Returns:
- the key store password
-
setPassword
Sets the password for the key store.- Parameters:
password- the key store password
-
getType
Gets the type of the key store.- Returns:
- the key store type
-
setType
Sets the type of the key store.- Parameters:
type- the key store type
-
createUrl
Creates aURLobject from the key store URL string.- Returns:
- a
URLobject representing the key store URL - Throws:
MalformedURLException- if the URL string is not valid
-