Class ReadOnlyFileOrClasspathKeyStoreSource
- java.lang.Object
-
- com.github.tomakehurst.wiremock.common.ssl.KeyStoreSource
-
- com.github.tomakehurst.wiremock.common.ssl.ReadOnlyFileOrClasspathKeyStoreSource
-
- All Implemented Interfaces:
Source<java.security.KeyStore>
- Direct Known Subclasses:
WritableFileOrClasspathKeyStoreSource
public class ReadOnlyFileOrClasspathKeyStoreSource extends KeyStoreSource
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringpath-
Fields inherited from class com.github.tomakehurst.wiremock.common.ssl.KeyStoreSource
keyStorePassword, keyStoreType
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyFileOrClasspathKeyStoreSource(java.lang.String path, java.lang.String keyStoreType, char[] keyStorePassword)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.io.InputStreamcreateInputStream()booleanequals(java.lang.Object o)booleanexists()java.lang.StringgetPath()inthashCode()voidsave(java.security.KeyStore keyStore)-
Methods inherited from class com.github.tomakehurst.wiremock.common.ssl.KeyStoreSource
getKeyStorePassword, getKeyStoreType, load
-
-
-
-
Method Detail
-
createInputStream
protected java.io.InputStream createInputStream()
- Specified by:
createInputStreamin classKeyStoreSource
-
exists
public boolean exists()
-
save
public void save(java.security.KeyStore keyStore)
-
getPath
public java.lang.String getPath()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classKeyStoreSource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classKeyStoreSource
-
-