Package net.webpdf.wsclient.openapi
Class ServerConfigKeystoreSSL
- java.lang.Object
-
- net.webpdf.wsclient.openapi.ServerConfigKeystoreSSL
-
public class ServerConfigKeystoreSSL extends Object
Defines the keystore with the private server key and the certificate used to encrypt 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 containing the certificate (or certificate chain) and private key (optionally encrypted) to be used for SSL encryption
-
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 private 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 file containing the certificate (or certificate chain) and private key (optionally encrypted) to be used for SSL encryptioninthashCode()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 private server key and certificate in the keystore. Can be empty if the keystore only contains a single certificate.- 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 containing the certificate (or certificate chain) and private key (optionally encrypted) to be used for SSL encryption. * JKS = A Java keystore (file based with an extension like \".jks\"). * PKCS12 = A PKCS12 keystore (file based with the extensions like \".p12\" or \".pfx\"). * PEM = A PEM-encoded keystore (file based with extensions like \".pem\" or \".cabundle\"). * WINDOWS\\_MACHINE = The Windows certificate store of the machine on which the server is running. * WINDOWS\\_USER = The Windows certificate store of the user account under which the server is running.- Returns:
- type
-
setType
public void setType(ServerConfigKeystoreSSL.TypeEnum type)
-
-