Class JksProperties
java.lang.Object
com.bld.crypto.jks.config.properties.JksProperties
@Configuration
@ConfigurationProperties(prefix="com.bld.crypto.jks")
public class JksProperties
extends Object
The Class JksProperties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Gets the alias.org.springframework.core.io.ResourcegetFile()Gets the file.Gets the instance jks.Gets the password.io.jsonwebtoken.SignatureAlgorithmGets the signature algorithm.voidSets the alias.voidsetFile(org.springframework.core.io.Resource file) Sets the file.voidsetInstanceJks(String instanceJks) Sets the instance jks.voidsetPassword(String password) Sets the password.voidsetSignatureAlgorithm(io.jsonwebtoken.SignatureAlgorithm signatureAlgorithm) Sets the signature algorithm.
-
Constructor Details
-
JksProperties
public JksProperties()
-
-
Method Details
-
getFile
public org.springframework.core.io.Resource getFile()Gets the file.- Returns:
- the file
-
setFile
public void setFile(org.springframework.core.io.Resource file) Sets the file.- Parameters:
file- the new file
-
getPassword
Gets the password.- Returns:
- the password
-
setPassword
Sets the password.- Parameters:
password- the new password
-
getAlias
Gets the alias.- Returns:
- the alias
-
setAlias
Sets the alias.- Parameters:
alias- the new alias
-
getInstanceJks
Gets the instance jks.- Returns:
- the instance jks
-
setInstanceJks
Sets the instance jks.- Parameters:
instanceJks- the new instance jks
-
getSignatureAlgorithm
public io.jsonwebtoken.SignatureAlgorithm getSignatureAlgorithm()Gets the signature algorithm.- Returns:
- the signature algorithm
-
setSignatureAlgorithm
public void setSignatureAlgorithm(io.jsonwebtoken.SignatureAlgorithm signatureAlgorithm) Sets the signature algorithm.- Parameters:
signatureAlgorithm- the new signature algorithm
-