Package com.example
Class CustomCryptoSettings
- java.lang.Object
-
- com.example.CustomCryptoSettings
-
- All Implemented Interfaces:
CryptoSettings
public class CustomCryptoSettings extends Object implements CryptoSettings
-
-
Constructor Summary
Constructors Constructor Description CustomCryptoSettings()CustomCryptoSettings(String keyStorePath, String trustStorePath, String keyStorePassword, String trustStorePassword)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<File>getKeyStoreFile()StringgetKeyStorePassword()Optional<InputStream>getKeyStoreStream()Optional<File>getTrustStoreFile()StringgetTrustStorePassword()Optional<InputStream>getTrustStoreStream()
-
-
-
Method Detail
-
getKeyStoreFile
public Optional<File> getKeyStoreFile()
- Specified by:
getKeyStoreFilein interfaceCryptoSettings
-
getKeyStoreStream
public Optional<InputStream> getKeyStoreStream()
- Specified by:
getKeyStoreStreamin interfaceCryptoSettings
-
getKeyStorePassword
public String getKeyStorePassword()
- Specified by:
getKeyStorePasswordin interfaceCryptoSettings
-
getTrustStoreFile
public Optional<File> getTrustStoreFile()
- Specified by:
getTrustStoreFilein interfaceCryptoSettings
-
getTrustStoreStream
public Optional<InputStream> getTrustStoreStream()
- Specified by:
getTrustStoreStreamin interfaceCryptoSettings
-
getTrustStorePassword
public String getTrustStorePassword()
- Specified by:
getTrustStorePasswordin interfaceCryptoSettings
-
-