Package net.webpdf.wsclient.openapi
Class ServerConfigKeystoreSSL
- java.lang.Object
-
- net.webpdf.wsclient.openapi.ServerConfigKeystoreSSL
-
public class ServerConfigKeystoreSSL extends Object
Sets the keystore information for the server key and certificate to be used to cipher the connection. This keystore may only contain exactly one certificate or certificate chain with one private key.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServerConfigKeystoreSSL.TypeEnumThe format of the keystore file
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ALIASstatic StringJSON_PROPERTY_FILEstatic StringJSON_PROPERTY_PASSWORDstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description ServerConfigKeystoreSSL()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerConfigKeystoreSSL_file(String _file)ServerConfigKeystoreSSLalias(String alias)booleanequals(Object o)@Nullable StringgetAlias()The alias used for the server key and certificate in the keystore.@Nullable StringgetFile()The name of the keystore file to use.@Nullable StringgetPassword()The password required to access the keystore.@Nullable ServerConfigKeystoreSSL.TypeEnumgetType()The format of the keystore fileinthashCode()ServerConfigKeystoreSSLpassword(String password)voidsetAlias(String alias)voidsetFile(String _file)voidsetPassword(String password)voidsetType(ServerConfigKeystoreSSL.TypeEnum type)StringtoString()ServerConfigKeystoreSSLtype(ServerConfigKeystoreSSL.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_ALIAS
public static final String JSON_PROPERTY_ALIAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FILE
public static final String JSON_PROPERTY_FILE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PASSWORD
public static final String JSON_PROPERTY_PASSWORD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
alias
public ServerConfigKeystoreSSL alias(String alias)
-
getAlias
@Nullable public @Nullable String getAlias()
The alias used for the server key and certificate in the keystore.- Returns:
- alias
-
setAlias
public void setAlias(String alias)
-
_file
public ServerConfigKeystoreSSL _file(String _file)
-
getFile
@Nullable public @Nullable String getFile()
The name of the keystore file to use.- Returns:
- _file
-
setFile
public void setFile(String _file)
-
password
public ServerConfigKeystoreSSL password(String password)
-
getPassword
@Nullable public @Nullable String getPassword()
The password required to access the keystore.- Returns:
- password
-
setPassword
public void setPassword(String password)
-
type
public ServerConfigKeystoreSSL type(ServerConfigKeystoreSSL.TypeEnum type)
-
getType
@Nullable public @Nullable ServerConfigKeystoreSSL.TypeEnum getType()
The format of the keystore file. * JKS = A Java keystore (file based with an extension like \".jks\"). * PKCS12 = A PKCS12 keystore (file based with the extensions like \".p12\" or \".pfx\").- Returns:
- type
-
setType
public void setType(ServerConfigKeystoreSSL.TypeEnum type)
-
-